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

@ -2,7 +2,7 @@
{{ if .Menus }}
<nav class="post-navigation">
{{ range .Menus }}
<a href="{{ .ConfiguredURL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
<a href="{{ .ConfiguredURL | absLangURL }}" title="{{ .Title }}">{{ .Name | markdownify }}</a>
{{ end }}
</nav>
{{ end }}
@ -10,7 +10,7 @@
<article class="post h-entry">
<div class="post-header">
<header>
<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1>
<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " | markdownify }}</h1>
{{ partial "post-language-switcher.html" . }}
</header>