修改页脚
This commit is contained in:
0
content/_index.md
Normal file
0
content/_index.md
Normal file
3
content/about/_index.md
Normal file
3
content/about/_index.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# 页面正在施工
|
||||
|
||||
感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。
|
||||
3
content/showcase/_index.md
Normal file
3
content/showcase/_index.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# 页面正在施工
|
||||
|
||||
感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。
|
||||
30
hugo.toml
30
hugo.toml
@@ -14,7 +14,7 @@ pagination.pagerSize = 5
|
||||
contentTypeName = "posts"
|
||||
|
||||
# 可用主题颜色示例:["orange", "blue", "red", "green", "pink", "paper"]
|
||||
themeColor = "orange"
|
||||
themeColor = "green"
|
||||
|
||||
# 如果设置为 0,则只会显示子菜单触发器
|
||||
showMenuItems = 2
|
||||
@@ -35,7 +35,7 @@ pagination.pagerSize = 5
|
||||
|
||||
# 设置文章是否显示最后更新时间
|
||||
# 如果使用 git,可将 `enableGitInfo` 设置为 `true`,文章会自动获取最后更新时间
|
||||
showLastUpdated = false
|
||||
showLastUpdated = true
|
||||
|
||||
# 设置自定义 favicon(默认为 themeColor 方块)
|
||||
# favicon = "favicon.ico"(示例)
|
||||
@@ -55,6 +55,18 @@ pagination.pagerSize = 5
|
||||
# 设置目录标题(可在页面的 front-matter 中覆盖)
|
||||
# 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 = false;URL 可选
|
||||
@@ -82,19 +94,7 @@ pagination.pagerSize = 5
|
||||
# copyright = ""
|
||||
# 单独提供备案变量(包含 HTML),模板中可直接输出(取决于主题是否使用 safeHTML)
|
||||
# 完整版权 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"
|
||||
readMore = "Read more"
|
||||
readOtherPosts = "Read other posts"
|
||||
|
||||
Reference in New Issue
Block a user