From 4be573b5d3626b58f8b23dd08a52522fbbe819d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Fri, 30 Sep 2022 21:04:25 +0800 Subject: [PATCH] :lipstick: Add version info of Hugo & NexT theme in footer. --- exampleSite/layouts/partials/custom_footer.html | 2 +- layouts/partials/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/layouts/partials/custom_footer.html b/exampleSite/layouts/partials/custom_footer.html index a860d83..dfd4a6f 100644 --- a/exampleSite/layouts/partials/custom_footer.html +++ b/exampleSite/layouts/partials/custom_footer.html @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ea975cc..5f989c2 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -52,7 +52,7 @@ {{- end }} {{- if $ft.powered }}
- {{ $pb := printf "Hugo & Hugo NexT.%s" .Site.Params.scheme }} + {{ $pb := printf "Hugo & Hugo NexT.%s" hugo.Version .Site.Data.config.version .Site.Params.scheme }} {{- printf (T "FooterPowerby") $pb | safeHTML }}
{{- end }}