From 096602367c5a7b5005a8e7a188e04e740cb6160c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Thu, 19 May 2022 22:46:42 +0800 Subject: [PATCH] :art: Update the footer of gongan beian information for Chinese users. --- layouts/partials/footer.html | 74 ++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4f8fcb7..965b2da 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,40 +1,38 @@ -{{ $ft := .Site.Params.footer }} - \ No newline at end of file + {{- end }} + + {{- if $ft.powered }} +
+ {{ $pb := printf "Hugo v%s & NexT.%s" hugo.Version .Site.Params.scheme }} + {{- printf (T "FooterPowerby") $pb | safeHTML }} +
+ {{- end }} + \ No newline at end of file