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
1 changed files with 1 additions and 1 deletions

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