From 4381f3108527a8fae9b845c633098887677f349e Mon Sep 17 00:00:00 2001 From: Xin Date: Sun, 3 Sep 2023 11:12:53 -0400 Subject: [PATCH] chore: make index page container wider (#30) * chore: enable footer by default * chore: make index container wider --- layouts/_default/baseof.html | 2 +- layouts/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" . }} 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" . }}