mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Remove empty 404.html and clean up <title> in head.html
This commit is contained in:
parent
8a4579007b
commit
b9fd054f37
@ -16,9 +16,11 @@
|
|||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ $title := print .Title " | " .Site.Title }}
|
{{ if .IsHome }}
|
||||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
<title>{{ .Site.Title }}</title>
|
||||||
<title>{{ $title }}</title>
|
{{ else }}
|
||||||
|
<title>{{ print .Title " | " .Site.Title }}</title>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user