From 25ddc7a26b16803d29fcab9c9b1145b0dbf409df Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Mon, 23 Jan 2023 13:08:59 +0100 Subject: [PATCH] Fix error in title (before it was thought that the title of the website was the first element in the menu) --- themes/datacoop2020/layouts/partials/head.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/themes/datacoop2020/layouts/partials/head.html b/themes/datacoop2020/layouts/partials/head.html index aa5ee52..3985763 100644 --- a/themes/datacoop2020/layouts/partials/head.html +++ b/themes/datacoop2020/layouts/partials/head.html @@ -20,16 +20,6 @@ {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} - {{ if .IsHome }} - {{ $homepage := "Home" }} - {{ with .Site.Menus.nav }} - {{ range first 1 . }} - {{ $homepage = .Name }} - {{ end }} - {{ end }} - {{ $homepage }} | {{ .Site.Title }} - {{ else }} {{ .Title }} | {{ .Site.Title }} - {{ end }}