diff --git a/content/posts/running_page部署.md b/content/posts/running_page部署.md new file mode 100644 index 0000000..4506c96 --- /dev/null +++ b/content/posts/running_page部署.md @@ -0,0 +1,13 @@ +--- +title: running_page部署 +tags: ["学习","运动"] +date: 2026-03-07 +--- + +最近我的博客上线了一个新的页面,[running_page](https://run.butubb.cn) + +使用的是[https://github.com/yihong0618/running_page](https://github.com/yihong0618/running_page)这个仓库 + +大家有兴趣的可以看看 + + diff --git a/hugo.toml b/hugo.toml index 38927bc..8ca4e37 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,12 +7,20 @@ defaultContentLanguage = 'zh-cn' [outputs] home = ["HTML", "RSS", "JSON"] +# ===== 新增区域:告诉 Hugo 允许渲染安全的 HTML ===== +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true # 允许在 Markdown 中渲染原始 HTML + [params] + [params.homeInfoParams] + Title = "\"butubb\"\n你好!我是 butubb,安徽人,现工作居住在苏州。" + Content = "喜欢互联网冲浪🏄‍♂️,折腾机器💻,看电影🎥,编程🧑‍💻,听音乐🎶等" + ShowToc = true defaultTheme = "auto" - # 内联表必须写在一行内 - homeInfoParams = { Title = "你好!我是butubb,安徽人,现工作居住在苏州。", Content = "喜欢互联网冲浪🏄‍♂️,折腾机器💻,看电影🎥,编程🧑‍💻,听音乐🎶等" } - + mainSections = ["posts"] [taxonomies] tag = "tags"