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> </a>
</li> </li>
{{ range $i, $e:= $context.Ancestors.Reverse }} {{ range $i, $e:= $context.Ancestors.Reverse }}
<li> {{ if ne .Title "Pages" }}
{{ if ne $i 0 }} <li>
{{ end }} {{ if ne $i 0 }}
<a {{ end }}
class="text-primary dark:text-darkmode-primary" <a
href="{{ .RelPermalink }}"> class="text-primary dark:text-darkmode-primary"
{{ .Title }} href="{{ .RelPermalink }}">
</a> {{ .Title }}
<span class="inlin-block mr-1">/</span> </a>
</li> <span class="inlin-block mr-1">/</span>
</li>
{{ end }}
{{ end }} {{ end }}
<li> <li>
<span class="text-primary dark:text-darkmode-primary"> <span class="text-primary dark:text-darkmode-primary">