update breadcrumb

This commit is contained in:
somrat sorkar 2023-07-06 12:36:12 +06:00
parent 50f2f0444f
commit 04d4f35f13

View File

@ -12,16 +12,18 @@
</a>
</li>
{{ range $i, $e:= $context.Ancestors.Reverse }}
<li>
{{ if ne $i 0 }}
{{ end }}
<a
class="text-primary dark:text-darkmode-primary"
href="{{ .RelPermalink }}">
{{ .Title }}
</a>
<span class="inlin-block mr-1">/</span>
</li>
{{ if ne .Title "Pages" }}
<li>
{{ if ne $i 0 }}
{{ end }}
<a
class="text-primary dark:text-darkmode-primary"
href="{{ .RelPermalink }}">
{{ .Title }}
</a>
<span class="inlin-block mr-1">/</span>
</li>
{{ end }}
{{ end }}
<li>
<span class="text-primary dark:text-darkmode-primary">