mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Fix page titles
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
{{ partial "meta.html" . }}
|
||||
<base href="{{ .Site.BaseUrl }}">
|
||||
<title>
|
||||
{{ $URL := "/" }}
|
||||
{{ if eq $URL "/" }}
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseUrl) "" }}
|
||||
{{ if eq $url "/" }}
|
||||
{{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Title }} · {{ .Site.Title }}
|
||||
|
Reference in New Issue
Block a user