添加备案信息

This commit is contained in:
2025-10-28 10:21:46 +08:00
parent 2e50c892dd
commit cade2a046b
2 changed files with 10 additions and 3 deletions

View File

@@ -81,12 +81,19 @@ pagination.pagerSize = 5
keywords = ""
# copyright = ""
# 单独提供备案变量(包含 HTML模板中可直接输出取决于主题是否使用 safeHTML
icp = '<a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">粤ICP备12345678号</a>'
publicSecurity = '<a href="http://www.beian.gov.cn/" target="_blank" rel="noopener noreferrer">粤公网安备 44010602000000号</a>'
# 完整版权 HTML包含备案链接使用多行字符串便于阅读
copyright = '''
© 2025 Gordon. 保留所有权利。<br/>
<a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">粤ICP备12345678号</a>&nbsp;|&nbsp;<a href="http://www.beian.gov.cn/" target="_blank" rel="noopener noreferrer">粤公网安备 44010602000000号</a>
<div style="text-align:center;margin-top:10px;color:#939393;font-size:12px;">
<a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer nofollow" style="color:#939393;text-decoration:none;">
湘ICP备2025119095号-1
</a>
<span style="margin:0 8px;">|</span>
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44010602000000" target="_blank" rel="noopener noreferrer nofollow" style="color:#939393;text-decoration:none;">
<img src="/images/beian.png" alt="公安备案图标" style="display:inline-block;margin-right:3px;vertical-align:middle;height:14px;">
粤公网安备 44010602000000号
</a>
</div>
'''
menuMore = "Show more"
readMore = "Read more"

BIN
static/images/beian.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB