summaryrefslogtreecommitdiff
path: root/themes/pehtheme/layouts/partials/content/breadcrumb.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/pehtheme/layouts/partials/content/breadcrumb.html')
-rw-r--r--themes/pehtheme/layouts/partials/content/breadcrumb.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/pehtheme/layouts/partials/content/breadcrumb.html b/themes/pehtheme/layouts/partials/content/breadcrumb.html
new file mode 100644
index 0000000..21de102
--- /dev/null
+++ b/themes/pehtheme/layouts/partials/content/breadcrumb.html
@@ -0,0 +1,9 @@
+<div id="breadcrumb" class="max-w-7xl mx-auto py-8">
+ <ul class="flex space-x-4 text-sm text-zinc-500">
+ {{- range .Ancestors.Reverse }}
+ <li class="after:content-['❯'] after:ml-4 after:opacity-30 last:after:content-none uppercase">
+ <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
+ </li>
+ {{- end }}
+ </ul>
+</div> \ No newline at end of file