diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 64e89cf..39af3b1 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -8,4 +8,4 @@ theme = "aether" [params] brand = "aether" description = "aether Hugo theme for blogs" -bgimg = "/img/ignasi_pattern_s.png" +bgimg = "img/ignasi_pattern_s.png" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 591ed63..22d3ab5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,21 +2,21 @@ - {{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }} + {{ if not .IsHome }}{{ .Title }} · {{ end }}{{ .Site.Title }} {{ if (fileExists "static/img/favicon.ico") -}} - + {{- end }} {{ if (fileExists "static/img/favicon.png") -}} - + {{- end }} - - + + - + {{ template "_internal/google_analytics.html" . }} {{ if isset $.Site.Params "bgimg" }}