From 51a1e49ac10ea9818fbad62a61338e7a4108f2e9 Mon Sep 17 00:00:00 2001 From: luochen570 <1160510664@qq.com> Date: Sat, 16 May 2026 23:36:09 +0800 Subject: [PATCH] first commit --- .gitmodules | 3 +++ archetypes/default.md | 5 +++++ hugo.toml | 4 ++++ themes/PaperMod | 1 + 4 files changed, 13 insertions(+) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 160000 themes/PaperMod diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git 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..51728f1 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://example.org/' +locale = 'zh_cn' +title = 'My New Hugo Project' +theme = 'PaperMod' diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..154d006 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 154d006e0182dfc7da38008323976b02e6bfab4a