diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-09-28 10:11:02 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <git@serghei.pl> | 2024-09-28 10:12:49 +0200 |
| commit | fedb40603459d173135c3cc165a3e86f0e1abb66 (patch) | |
| tree | 853bf918756b1599781c5390ecb01846a6d50a29 /exampleSite/config/_default/config.yaml | |
| parent | fa39098ed994bffd3b3560199a3d65d774e48d15 (diff) | |
| download | gohugo-theme-ed-fedb40603459d173135c3cc165a3e86f0e1abb66.tar.gz | |
Use more natural path to feeds
Diffstat (limited to 'exampleSite/config/_default/config.yaml')
| -rw-r--r-- | exampleSite/config/_default/config.yaml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index 7997d9f..5adea78 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -47,8 +47,8 @@ outputFormats: # will cause the feed to be parsed correctly by most clients. # Note that you should be encoding your feed in UTF-8. mediaType: text/xml - # generated file = <baseName>.<mediaType.'text/xml'.suffixes[0]> = feeds/feed.atom.xml - baseName: feeds/feed.atom + # generated file = <baseName>.<mediaType.'text/xml'.suffixes[0]> = atom.xml + baseName: atom rel: alternate isPlainText: false isHTML: false @@ -59,7 +59,7 @@ outputFormats: JSONFEED: name: JsonFeed mediaType: application/feed+json - baseName: feeds/feed + baseName: feed rel: alternate isPlainText: true isHTML: false @@ -98,9 +98,6 @@ mediaTypes: application/feed+json: suffixes: - json - application/manifest+json: - suffixes: - - webmanifest # Sitemap config sitemap: |
