diff options
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config/_default/config.yaml | 27 | ||||
| -rw-r--r-- | exampleSite/hugo.toml | 4 |
2 files changed, 11 insertions, 20 deletions
diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index dca03da..7997d9f 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -15,10 +15,6 @@ enableRobotsTXT: true # resolve, it will be logged with this log level. refLinksErrorLevel: WARNING -# Kick out RSS, we'll use Atom and FEED bellow. -disableKinds: - - RSS - # We have just the default tags taxonomy, and remove the categories # taxonomy for site as not used. taxonomies: @@ -32,11 +28,12 @@ minify: keepQuotes: true outputs: - home: [HTML, Atom, FEED, JSONFEED, JSON, MANIFEST, humanstxt] - section: [HTML, Atom, FEED, JSONFEED] + home: [HTML, RSS, MANIFEST, Atom, JSONFEED, JSON, humanstxt] page: [HTML] - taxonomy: [HTML] - term: [HTML] + rss: [RSS] + section: [HTML, RSS, Atom, JSONFEED] + taxonomy: [HTML, RSS] + term: [HTML, RSS] outputFormats: # For more see: https://validator.w3.org/feed/docs/atom.html#whatIsAtom @@ -58,16 +55,6 @@ outputFormats: noUgly: true permalinkable: false - FEED: - name: Feed - mediaType: text/xml - baseName: feeds/feed.rss - rel: alternate - isPlainText: false - isHTML: false - noUgly: true - permalinkable: false - # For more see: https://www.jsonfeed.org/ JSONFEED: name: JsonFeed @@ -91,7 +78,7 @@ outputFormats: isPlainText: true isHTML: false noUgly: false - notAlternative: true + notAlternative: false # For more see: https://gohugo.io/templates/output-formats/ humanstxt: @@ -117,7 +104,7 @@ mediaTypes: # Sitemap config sitemap: - changefreq: weekly + changefreq: monthly filename: sitemap.xml priority: 0.5 diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml new file mode 100644 index 0000000..a666a90 --- /dev/null +++ b/exampleSite/hugo.toml @@ -0,0 +1,4 @@ +[outputFormats] + [outputFormats.rss] + baseName = 'rss' + mediaType = 'application/rss+xml' |
