From 69f4e87fe11d7542c1b9808309925692d050b835 Mon Sep 17 00:00:00 2001 From: Xin Date: Sun, 3 Sep 2023 15:07:09 +0100 Subject: [PATCH 1/2] chore: enable footer by default --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f0e2978a..b4a096af 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{- partial "navbar.html" . -}} {{- block "main" . }}{{ end -}} - {{- if not .Site.Params.footer.disabled }}{{ partial "footer.html" . }}{{ end }} + {{- if (.Site.Params.footer.enable | default true) }}{{ partial "footer.html" . }}{{ end }} {{ partial "scripts.html" . }} From 2de2275b81df43d029ce263471cd44a8672af89f Mon Sep 17 00:00:00 2001 From: Xin Date: Sun, 3 Sep 2023 16:03:25 +0100 Subject: [PATCH 2/2] chore: make index container wider --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 8b183e03..108e2b5e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true "displayPlaceholder" true) }} {{ partial "toc.html" . }}