From f009e561cccbed762aa4e49fdb4842a65c91c76a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 27 Aug 2023 18:02:31 +0530 Subject: changed footer position on homepage --- layouts/_default/baseof.html | 4 +++- layouts/index.html | 10 +++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ad5c70f..9426b12 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,8 @@ {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} + {{ if ne .Kind "home" }} + {{- partial "footer.html" . -}} + {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 46e5188..8071971 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,9 +16,13 @@ -
- {{ .Content }} -
+ {{ .Content }} + + {{ end }} -- cgit v1.2.3