mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Plainify the title field in <head>
This commit is contained in:
parent
40331b4c1c
commit
34605bb8e2
@ -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" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user