From 05e2d2592818186d45427b63d82da2a578a4865a Mon Sep 17 00:00:00 2001 From: butubb <1422726308@qq.com> Date: Wed, 7 Jan 2026 08:18:55 +0800 Subject: [PATCH] add hugo files and md files --- archetypes/default.md | 5 +++++ hugo.toml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 archetypes/default.md create mode 100644 hugo.toml diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..c236e2e --- /dev/null +++ b/hugo.toml @@ -0,0 +1,30 @@ +baseURL = 'https://8butubb.github.io/' +languageCode = 'zh-cn' +title = '我的博客' +theme = 'PaperMod' + +[params] + defaultTheme = "auto" + # 内联表必须写在一行内 + homeInfoParams = { Title = "你好,我是butubb", Content = "欢迎来到我的博客主页:个人 / 博客 / 教程" } + + +[taxonomies] + tag = "tags" + series = "series" + category = "categories" + +[[menu.main]] + name = "个人" + url = "/posts" + weight = 1 + +[[menu.main]] + name = "教程" + url = "/docs" + weight = 2 + +[[menu.main]] + name = "学习" + url = "/study" + weight = 3 \ No newline at end of file