diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2c79f6c..29e786d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,9 +16,11 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ $title := print .Title " | " .Site.Title }} - {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} - {{ $title }} + {{ if .IsHome }} + {{ .Site.Title }} + {{ else }} + {{ print .Title " | " .Site.Title }} + {{ end }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }}