Plainify the title field in <head>

This commit is contained in:
2021-10-15 18:51:58 -05:00
parent 40331b4c1c
commit 34605bb8e2

View File

@@ -21,7 +21,7 @@
{{ if .IsHome }} {{ if .IsHome }}
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title }}</title>
{{ else }} {{ else }}
<title>{{ print .Title " | " .Site.Title }}</title> <title>{{ (print .Title " | " .Site.Title) | markdownify | plainify }}</title>
{{ end }} {{ end }}
{{ partial "opengraph.html" . }} {{ partial "opengraph.html" . }}