From 18f5c29b226a23d17fc2dc76d18bcf72149fc89b Mon Sep 17 00:00:00 2001 From: Jannik Menzel Date: Mon, 16 Jun 2025 16:41:59 +0200 Subject: [PATCH] localizing auto redirect --- layouts/_partials/head.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 6728962..25952ea 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -35,6 +35,19 @@ } })(); + +{{ if .IsHome }} + +{{ end }} {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}