Plainify the title field in <head>

This commit is contained in:
BBaoVanC 2021-10-15 18:51:58 -05:00
parent 40331b4c1c
commit 34605bb8e2
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

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" . }}