Skip to content

Commit

Permalink
🚚 Feat: remove front matter hiddenFromRss and rssFullText, add front …
Browse files Browse the repository at this point in the history
…matter hiddenFromFeed
  • Loading branch information
Lruihao committed Aug 24, 2024
1 parent e9f2943 commit 733f38f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion archetypes/post-bundle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ categories:
- draft
hiddenFromHomePage: false
hiddenFromSearch: false
hiddenFromRss: false
hiddenFromRelated: false
hiddenFromFeed: false
summary:
resources:
- name: featured-image
Expand Down
2 changes: 1 addition & 1 deletion archetypes/posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ categories:
- draft
hiddenFromHomePage: false
hiddenFromSearch: false
hiddenFromRss: false
hiddenFromRelated: false
hiddenFromFeed: false
summary:
resources:
- name: featured-image
Expand Down
10 changes: 4 additions & 6 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -502,7 +502,7 @@ enableEmoji = true
dateFormat = "01-02"
# FixIt 0.3.10 | NEW Section feed config for RSS, Atom and JSON feed.
[params.section.feed]
# The number of posts to include in the feed. Default is -1, which means all posts.
# The number of posts to include in the feed. If set to -1, all posts.
limit = -1
# whether to show the full text content in feed.
fullText = false
Expand All @@ -522,7 +522,7 @@ enableEmoji = true
dateFormat = "01-02"
# FixIt 0.3.10 | NEW Term list feed config for RSS, Atom and JSON feed.
[params.list.feed]
# The number of posts to include in the feed. Default is -1, which means all posts.
# The number of posts to include in the feed. If set to -1, all posts.
limit = -1
# whether to show the full text content in feed.
fullText = false
Expand Down Expand Up @@ -819,7 +819,7 @@ enableEmoji = true

# FixIt 0.3.10 | NEW Global Feed config for RSS, Atom and JSON feed.
[params.feed]
# The number of posts to include in the feed. Default is -1, which means all posts.
# The number of posts to include in the feed. If set to -1, all posts.
limit = 10
# whether to show the full text content in feed.
fullText = true
Expand Down Expand Up @@ -866,8 +866,6 @@ enableEmoji = true
linkToEdit = true
# FixIt 0.3.0 | NEW whether to show link to report issue for the post
linkToReport = true
# whether to show the full text content in RSS
rssFullText = false
# FixIt 0.3.10 | CHANGED Page style ["narrow", "normal", "wide", ...]
pageStyle = "normal"
# FixIt 0.2.17 | CHANGED Auto Bookmark Support
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.10-d913b1fa" -}}
{{- .Scratch.Set "version" "v0.3.10-08d4c12c" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down

0 comments on commit 733f38f

Please sign in to comment.