Plainify the title field in <head>

This commit is contained in:
bbaovanc committed 2021-10-15 18:51:58 -05:00
1 parent 40331b4c1c
commit 34605bb8e2
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@
{{ if .IsHome }}
<title>{{ .Site.Title }}</title>
{{ else }}
<title>{{ print .Title " | " .Site.Title }}</title>
<title>{{ (print .Title " | " .Site.Title) | markdownify | plainify }}</title>
{{ end }}
{{ partial "opengraph.html" . }}