From fa2d300c90ab4549f3bc09282e21cac9b0fa603e Mon Sep 17 00:00:00 2001 From: Somrat Date: Sat, 18 Dec 2021 12:24:57 +0600 Subject: [PATCH] fixed language switcher --- exampleSite/.hugo_build.lock | 0 layouts/_default/baseof.html | 2 +- layouts/index.html | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 exampleSite/.hugo_build.lock diff --git a/exampleSite/.hugo_build.lock b/exampleSite/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 56b3402..9f0ebe7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,7 @@ {{ else }} {{ "" | safeHTML }}
- {{ partialCached "navigation.html" . }} + {{ partial "navigation.html" . }}
{{ "" | safeHTML }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 26ee869..c8a399b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,8 +1,8 @@ {{ define "main" }} {{ if .Content }} -
-
+
+
{{ .Content }}