diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..40164aa --- /dev/null +++ b/content/about/_index.md @@ -0,0 +1,3 @@ +# 页面正在施工 + +感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。 \ No newline at end of file diff --git a/content/showcase/_index.md b/content/showcase/_index.md new file mode 100644 index 0000000..40164aa --- /dev/null +++ b/content/showcase/_index.md @@ -0,0 +1,3 @@ +# 页面正在施工 + +感谢您的耐心等待!该页面正在建设中,敬请期待更多内容。 \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 49081cc..2dea3ee 100644 --- a/hugo.toml +++ b/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. 保留所有权利。
-
- - 湘ICP备2025119095号-1 - - | - - 公安备案图标 - 粤公网安备 44010602000000号 - -
- ''' + menuMore = "Show more" readMore = "Read more" readOtherPosts = "Read other posts"