don't show .Title in head title if empty
This commit is contained in:
parent
8b85e7c51f
commit
78e9b5b361
|
@ -18,7 +18,7 @@
|
||||||
<link rel="shortcut icon" href='{{ .Site.Params.favicon | default "/img/favicon.png" }}' type="image/x-icon" />
|
<link rel="shortcut icon" href='{{ .Site.Params.favicon | default "/img/favicon.png" }}' type="image/x-icon" />
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{{ if ne .Title .Site.Title }}
|
{{ if and (.Title) (ne .Title .Site.Title) }}
|
||||||
{{ .Title }} –
|
{{ .Title }} –
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .Site.Title | default "Ficurinia" }}
|
{{ .Site.Title | default "Ficurinia" }}
|
||||||
|
|
Loading…
Reference in New Issue