mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
layouts/_default/single.html: Markdownify page title
In a multilingual context a post's title could be "Title" in English but «Title» in Bulgarian, and if we apply the Markdown filter to the title tag, then the language's Black Friday configuration is used, in this example it would be for the angled quotes. We already do this everywhere else we can in the post's content, so let's match it in the page title.
This commit is contained in:
parent
d6328c34df
commit
577fdd75ce
@ -1,4 +1,4 @@
|
||||
{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }}
|
||||
{{ define "title" }}{{ .Title | markdownify }} | {{ .Site.Title }}{{ end }}
|
||||
{{ define "main" }}
|
||||
<article class="blog-post">
|
||||
<header>
|
||||
|
Loading…
Reference in New Issue
Block a user