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" />
|
||||
|
||||
<title>
|
||||
{{ if ne .Title .Site.Title }}
|
||||
{{ if and (.Title) (ne .Title .Site.Title) }}
|
||||
{{ .Title }} –
|
||||
{{ end }}
|
||||
{{ .Site.Title | default "Ficurinia" }}
|
||||
|
|
Loading…
Reference in New Issue