- {{ end }}
- 随笔
-
- {{ end }}
- diff --git a/content/post/_index.md b/content/post/_index.md new file mode 100644 index 00000000..80d7a101 --- /dev/null +++ b/content/post/_index.md @@ -0,0 +1,4 @@ +--- +title: "文章列表" +date: 2023-01-01 +--- diff --git a/hugo.toml b/hugo.toml index 923a041f..8e182dc3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -13,3 +13,6 @@ HasCJKLanguage = true # 去掉post [permalinks] post = "/:slug/" + + + diff --git a/themes/Ying/hugo.toml b/themes/Ying/hugo.toml index a20d99e9..21d0e821 100644 --- a/themes/Ying/hugo.toml +++ b/themes/Ying/hugo.toml @@ -58,6 +58,11 @@ name = "archives" weight = 20 url = "/archives" +[[menu.main]] +name = "memos" +weight = 20 +url = "/memos" + # 模块配置 [module] # Hugo 版本要求 diff --git a/themes/Ying/layouts/_default/home.html b/themes/Ying/layouts/_default/home.html index c4fcecf4..4bcb52b7 100644 --- a/themes/Ying/layouts/_default/home.html +++ b/themes/Ying/layouts/_default/home.html @@ -1,49 +1,31 @@ {{ define "main" }}
- {{ end }}
-