markdonify titles #198
This commit is contained in:
parent
7aefd3b314
commit
c2a5399259
7 changed files with 11 additions and 11 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue