From 8f68e1af9d33ccb9e320cf8954a5a71434c0a9d4 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 25 Feb 2023 08:06:18 +0800 Subject: [PATCH] Update site layouts --- layouts/_default/archives.html | 4 ++-- layouts/_default/baseof.html | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 4bbb555..32d2251 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -1,5 +1,6 @@ {{- define "main" -}} +

{{ .Title }}

{{ .Content }} @@ -23,6 +24,5 @@ {{- end }} {{ end }} - +
{{- end -}} - diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 793fbb4..83593aa 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,11 +5,10 @@ {{- partial "head_extended.html" . -}} - {{- partial "components/theme-button.html" . }} {{- partial "header.html" . -}} -
+ {{- block "main" . }}{{- end }} -
+ {{- partial "footer.html" . -}} {{- if hugo.IsProduction -}}