From 24749f16d0e2b49507d049966f2ddb834cf80dc5 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 19 May 2022 22:36:23 +0800 Subject: [PATCH] reindent footer html --- layouts/partials/footer.html | 107 +++++++++++++++--------------- layouts/partials/page_footer.html | 82 +++++++++++------------ 2 files changed, 93 insertions(+), 96 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d78a2ee..67355d0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,39 +1,39 @@ {{- if not (.Param "hideFooter") }} {{- end }} {{- if (not site.Params.disableScrollToTop) }} - - - + + + {{- end }} {{- partial "extend_footer.html" . }} {{- if (not site.Params.disableScrollToTop) }} {{- end }} {{- if (not site.Params.disableThemeToggle) }} {{- end }} @@ -122,7 +120,6 @@ {{- if .IsPage }} {{- partial "page_footer.html" . }} -{{- else }} {{- end}} {{- /* Search */}} @@ -144,7 +141,7 @@ {{- if (.Param "EnableInstantClick") }} {{- $instantclick := resources.Get "js/instantclick.js" }} {{- end }} @@ -123,5 +123,5 @@ {{- end }} {{- if not (.Param "noComments") }} -{{ partial "comments_js.html" . }} + {{- partial "comments_js.html" . }} {{ end }}