Process markdown on breadcrumb nav

This commit is contained in:
BBaoVanC 2021-11-19 22:54:06 -06:00
parent 1f080d9092
commit 5104a6f57d
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -11,9 +11,9 @@
{{ end }}
<li{{ if eq .p1 .p2 }} class="active"{{ end }}>
{{ if eq .p1 .p2 }}
{{ .p1.Title }}
{{ .p1.Title | markdownify }}
{{ else }}
<a href="{{ .p1.Permalink }}">{{ .p1.Title }}</a>
<a href="{{ .p1.Permalink }}">{{ .p1.Title | markdownify }}</a>
{{ end }}
</li>
{{ end }}