From 91a18a1a92332d3cdfd071b5532716477788e107 Mon Sep 17 00:00:00 2001 From: Thai Ngo <42998134+HBTghost@users.noreply.github.com> Date: Sun, 15 Sep 2019 16:04:56 +0700 Subject: [PATCH] Fix URLs in Multilingual Mode (#93) Make below links correct in Multilingual Mode: * tag links in single post page * footer RSS link * 404 page "archive" link --- layouts/404.html | 2 +- layouts/index.html | 2 +- layouts/partials/footer.html | 2 +- layouts/posts/single.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 0f2677d..38a201d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -8,7 +8,7 @@

{{ i18n "notFound" }}

{{ i18n "home" }} - {{ i18n "archives" }} + {{ i18n "archives" }}

diff --git a/layouts/index.html b/layouts/index.html index e847de9..3f31d25 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -30,7 +30,7 @@ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7b5bc67..2aa24c2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,6 +2,6 @@

© {{ now.Format "2006" }} {{ .Site.Author.name }}{{ .Site.Params.footerCopyright | safeHTML }}

Made with Hugo · Theme Hermit - {{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · {{ end }} + {{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · {{ end }}

diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 371de79..d221abb 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -37,7 +37,7 @@

{{- range . -}} - {{.}} + {{.}} {{- end }}

{{- end }}