From 88c9777c62dbf33d01b2b8e9739965c62cb2551d Mon Sep 17 00:00:00 2001 From: SerKo Date: Mon, 9 May 2022 18:25:13 +0800 Subject: [PATCH] styles: add footer and header --- layouts/_default/baseof.html | 45 +++++------------------------------- layouts/_default/single.html | 2 +- layouts/partials/footer.html | 4 ++++ layouts/partials/header.html | 36 +++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 40 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index eb60718..9c3d260 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,46 +3,13 @@ {{- partial "head.html" . -}} - - -
- {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bb78802..32bf68a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+
{{ .Title }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..2995297 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ +
+
{{ .Site.Params.copyright }}
+
Theme Holy
+
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..45e71ff 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,36 @@ +