Enable RSS feed for blog only

Disabled RSS globally in hugo.yaml and added content/_blog/index.md
where I enabled RSS output.
This commit is contained in:
c47 2024-03-02 22:01:05 +01:00
parent 6f2e1c3d11
commit 3b129d8b92
Signed by: c47
SSH key fingerprint: SHA256:FIo5G1VJnESaIB/8N5lcc2IDuZ02Sl2Qyye15i4w7jQ
2 changed files with 8 additions and 3 deletions

4
content/blog/_index.md Normal file
View file

@ -0,0 +1,4 @@
+++
title = 'Blog'
outputs = ['html','rss']
+++

View file

@ -24,13 +24,10 @@ outputs:
- html
section:
- html
- rss
taxonomy:
- html
- rss
term:
- html
- rss
menu:
main:
@ -54,6 +51,10 @@ menu:
name: About
url: /about/
weight: 60
- identifier: rss
name: RSS
url: /blog/index.xml
weight: 70
taxonomies:
tag: "tags"