修改页脚

This commit is contained in:
2025-10-28 15:30:49 +08:00
parent cade2a046b
commit 8481c6f7f7
4 changed files with 21 additions and 15 deletions

0
content/_index.md Normal file
View File

3
content/about/_index.md Normal file
View File

@@ -0,0 +1,3 @@
# 页面正在施工
感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。

View File

@@ -0,0 +1,3 @@
# 页面正在施工
感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。

View File

@@ -14,7 +14,7 @@ pagination.pagerSize = 5
contentTypeName = "posts" contentTypeName = "posts"
# 可用主题颜色示例:["orange", "blue", "red", "green", "pink", "paper"] # 可用主题颜色示例:["orange", "blue", "red", "green", "pink", "paper"]
themeColor = "orange" themeColor = "green"
# 如果设置为 0则只会显示子菜单触发器 # 如果设置为 0则只会显示子菜单触发器
showMenuItems = 2 showMenuItems = 2
@@ -35,7 +35,7 @@ pagination.pagerSize = 5
# 设置文章是否显示最后更新时间 # 设置文章是否显示最后更新时间
# 如果使用 git可将 `enableGitInfo` 设置为 `true`,文章会自动获取最后更新时间 # 如果使用 git可将 `enableGitInfo` 设置为 `true`,文章会自动获取最后更新时间
showLastUpdated = false showLastUpdated = true
# 设置自定义 favicon默认为 themeColor 方块) # 设置自定义 favicon默认为 themeColor 方块)
# favicon = "favicon.ico"(示例) # favicon = "favicon.ico"(示例)
@@ -55,6 +55,18 @@ pagination.pagerSize = 5
# 设置目录标题(可在页面的 front-matter 中覆盖) # 设置目录标题(可在页面的 front-matter 中覆盖)
# TocTitle = "Table of Contents" # 默认 # TocTitle = "Table of Contents" # 默认
# 备案相关配置(供页脚模板读取)
[params.beian]
# ICP 备案号(仅文本)
icp = "湘ICP备2025119095号-1"
# ICP 备案链接
icpLink = "https://beian.miit.gov.cn/"
# 公安备案文案
police = ""
# 公安备案编号(用于链接参数)
policeCode = "44010602000001"
# 公安备案图标(放在 static/images 下)
policeIcon = "/images/beian.png"
# 可以在页面顶部设置带有号召按钮的横幅 # 可以在页面顶部设置带有号召按钮的横幅
# 默认dismissible = falseURL 可选 # 默认dismissible = falseURL 可选
@@ -82,19 +94,7 @@ pagination.pagerSize = 5
# copyright = "" # copyright = ""
# 单独提供备案变量(包含 HTML模板中可直接输出取决于主题是否使用 safeHTML # 单独提供备案变量(包含 HTML模板中可直接输出取决于主题是否使用 safeHTML
# 完整版权 HTML包含备案链接使用多行字符串便于阅读 # 完整版权 HTML包含备案链接使用多行字符串便于阅读
copyright = '''
© 2025 Gordon. 保留所有权利。<br/>
<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" menuMore = "Show more"
readMore = "Read more" readMore = "Read more"
readOtherPosts = "Read other posts" readOtherPosts = "Read other posts"