From 9fd5f1420c31727ca6f44d10e1d7fb06421349ff Mon Sep 17 00:00:00 2001 From: f-dinucci Date: Mon, 30 May 2022 22:33:18 +0200 Subject: [PATCH] refactor[layouts]: reorganize baseof.html Refactors baseof.html to follow the latest Hugo conventions and comments for a better readability --- layouts/_default/baseof.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f8e2ec..d59de19 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,23 @@ - - {{- partial "head.html" . -}} + + + {{ partial "head.html" . }} + + - {{- partial "header.html" . -}} + + + {{ partial "header.html" . }} + +
- {{- block "main" . }}{{- end }} + {{ block "main" . }} + + {{ end }}
- {{- partial "footer.html" . -}} + + + {{ partial "footer.html" . }} +