mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Process markdown on breadcrumb nav
This commit is contained in:
parent
1f080d9092
commit
5104a6f57d
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user