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 -}}