markdonify titles #198

This commit is contained in:
Dmitry Kolosov 2023-08-12 10:28:38 +02:00
parent 7aefd3b314
commit c2a5399259
7 changed files with 11 additions and 11 deletions

View file

@ -3,13 +3,13 @@
{{ .Content }}
</div>
<h1>{{ i18n .Title }}</h1>
<h1>{{ i18n .Title | markdownify }}</h1>
<ul class="terms">
{{ range .Data.Terms }}
{{ $postsNum := len (where .Pages "Params.hidden" "!=" true) }}
{{ if gt $postsNum 0 }}
<li>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title | markdownify }}</a>
({{ $postsNum }})
</li>
{{ end}}