From 8fdf270268693da78adda8a336045a298d21f084 Mon Sep 17 00:00:00 2001 From: Eorn Date: Thu, 10 Dec 2020 16:13:38 +0100 Subject: [PATCH] fix non-default language rss links --- layouts/partials/header.html | 2 +- layouts/partials/nav.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5e3b059..f1ccf71 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ {{ end }} {{ if .Site.Params.rss }} - + {{ end }} {{ template "_internal/opengraph.html" . }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index acdd3d4..88b1e4b 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -22,6 +22,13 @@ {{- end -}} {{- end -}} + + + + {{- partial "svg/icons" "rss" -}} + + + {{- range $.Site.Home.AllTranslations }} {{ .Language.Lang }} {{- end }}