Add public security filing number to footer

This commit is contained in:
2026-05-22 16:18:05 +08:00
parent 88b7ffc2f0
commit 1944ff6f6a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -83,6 +83,7 @@ params:
displayPoweredBy: false
width: normal
icp: "粤ICP备2026061516号"
gongan: "粤公网安备44010602015963号"
# 日期
displayUpdatedDate: false
+1
View File
@@ -25,6 +25,7 @@
{{- if (.Site.Params.footer.displayPoweredBy | default true) }}<div class="hx:font-semibold">{{ template "theme-credit" $poweredBy }}</div>{{- end -}}
{{- if .Site.Params.footer.displayCopyright }}<div class="hx:mt-6 hx:text-xs">{{ $copyright | markdownify }}</div>{{- end -}}
{{- with .Site.Params.footer.icp }}<div class="hx:mt-2 hx:text-xs"><a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer" style="color:inherit;text-decoration:none">{{ . }}</a></div>{{- end -}}
{{- with .Site.Params.footer.gongan }}<div class="hx:mt-2 hx:text-xs"><a href="https://beian.mps.gov.cn/" target="_blank" rel="noopener noreferrer" style="color:inherit;text-decoration:none">{{ . }}</a></div>{{- end -}}
</div>
</div>
{{- end -}}