From c0610f5afbf74ccab992932214acfc5e797af055 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 24 Aug 2024 16:21:35 +0800 Subject: [PATCH] :truck: Feat: remove front matter hiddenFromRss and add hiddenFromFeed --- archetypes/post-bundle/index.md | 2 +- archetypes/posts.md | 2 +- hugo.toml | 2 +- layouts/partials/init/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/archetypes/post-bundle/index.md b/archetypes/post-bundle/index.md index 35dc82729..71ca9297e 100644 --- a/archetypes/post-bundle/index.md +++ b/archetypes/post-bundle/index.md @@ -20,8 +20,8 @@ categories: - draft hiddenFromHomePage: false hiddenFromSearch: false -hiddenFromRss: false hiddenFromRelated: false +hiddenFromFeed: false summary: resources: - name: featured-image diff --git a/archetypes/posts.md b/archetypes/posts.md index 231b1daa2..e0362aa5c 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -20,8 +20,8 @@ categories: - draft hiddenFromHomePage: false hiddenFromSearch: false -hiddenFromRss: false hiddenFromRelated: false +hiddenFromFeed: false summary: resources: - name: featured-image diff --git a/hugo.toml b/hugo.toml index 4edca3383..81c26e1df 100644 --- a/hugo.toml +++ b/hugo.toml @@ -293,7 +293,7 @@ enableEmoji = true # taxonomy = ["html"] # term = ["html", "rss"] [outputs] - home = ["html", "rss", "archives", "offline", "readme", "baidu_urls", "search"] + home = ["html", "rss", "archives", "search"] page = ["html", "markdown"] section = ["html", "rss"] taxonomy = ["html"] diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 21c578357..2043e6564 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.10-d913b1fa" -}} +{{- .Scratch.Set "version" "v0.3.10-1d86de83" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}