diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 17:48:18 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 17:48:18 +0200 |
| commit | 3ffae027ef6f7a6c3b18d72a4ea65f0a15ddcfe6 (patch) | |
| tree | 670fda27b04bd2fde09884240d7a915d89e65003 /exampleSite/config.toml | |
| parent | aa6f524fa6cb5b4cee0b64d35138ac0318bf7fd8 (diff) | |
| download | gohugo-theme-ed-3ffae027ef6f7a6c3b18d72a4ea65f0a15ddcfe6.tar.gz | |
Provide ability to render feeds menu
Diffstat (limited to 'exampleSite/config.toml')
| -rw-r--r-- | exampleSite/config.toml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b19be14..64401db 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -221,6 +221,22 @@ disableKinds = ['RSS'] [menu.main.params] external = true + [[menu.feeds]] + identifier = 'rss' + name = 'RSS 2.0' + url = '/feeds/feed.rss.xml' + weight = 1 + [[menu.feeds]] + identifier = 'atom' + name = 'Atom' + url = '/feeds/feed.atom.xml' + weight = 2 + [[menu.feeds]] + identifier = 'json' + name = 'Json Feed' + url = '/feeds/feed.json' + weight = 3 + # For more see https://gohugo.io/getting-started/configuration-markup/ [markup] defaultMarkdownHandler = 'goldmark' |
