From 1944ff6f6af391da5a5bed6032ffc647f6360233 Mon Sep 17 00:00:00 2001 From: fukunee Date: Fri, 22 May 2026 16:18:05 +0800 Subject: [PATCH] Add public security filing number to footer --- hugo.yaml | 1 + layouts/_partials/footer.html | 1 + 2 files changed, 2 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index c1adc59..e4ef327 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -83,6 +83,7 @@ params: displayPoweredBy: false width: normal icp: "粤ICP备2026061516号" + gongan: "粤公网安备44010602015963号" # 日期 displayUpdatedDate: false diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index 40ae2d2..e1477b0 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -25,6 +25,7 @@ {{- if (.Site.Params.footer.displayPoweredBy | default true) }}
{{ template "theme-credit" $poweredBy }}
{{- end -}} {{- if .Site.Params.footer.displayCopyright }}
{{ $copyright | markdownify }}
{{- end -}} {{- with .Site.Params.footer.icp }}
{{ . }}
{{- end -}} + {{- with .Site.Params.footer.gongan }}
{{ . }}
{{- end -}} {{- end -}}