diff options
Diffstat (limited to 'layouts/partials/breadcrumbs.html')
| -rw-r--r-- | layouts/partials/breadcrumbs.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html new file mode 100644 index 0000000..b5a9860 --- /dev/null +++ b/layouts/partials/breadcrumbs.html @@ -0,0 +1,8 @@ +<ul> + {{ $ancestors := .Ancestors.Reverse }} + {{ range $ancestors }} + <li> + <a href="{{ .Permalink }}">{{ .Title }}</a> + </li> + {{ end }} +</ul> |
