Skip to content

Commit 28dd297

Browse files
committed
Add RSS feed
1 parent 8061d6f commit 28dd297

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

hugo.toml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ name = "Blog"
1818
weight = 1
1919
url = "/blog/"
2020

21+
[outputs]
22+
home = ["html"]
23+
blog = ["html", "rss"]
24+
2125
# Social links
2226
[[params.social]]
2327
name = "GitHub"
@@ -37,10 +41,18 @@ icon = "fa-brands fa-linkedin fa-2x"
3741
weight = 3
3842
url = "https://www.linkedin.com/in/lorantpinter/"
3943

44+
[[params.social]]
45+
name = "RSS"
46+
icon = "fa-solid fa-rss fa-2x"
47+
weight = 4
48+
url = "https://lptr.github.io/blog/index.xml"
49+
rel = "alternate"
50+
type = "application/rss+xml"
51+
4052
[params.umami]
41-
siteID = "b6c0fdbc-a1b5-4581-bdd5-ed239d653585"
42-
scriptURL = "https://analytics.cornucopia-machines.eu/script.js"
53+
siteID = "b6c0fdbc-a1b5-4581-bdd5-ed239d653585"
54+
scriptURL = "https://analytics.cornucopia-machines.eu/script.js"
4355

4456
[caches]
45-
[caches.images]
46-
dir = ':cacheDir/images'
57+
[caches.images]
58+
dir = ':cacheDir/images'

0 commit comments

Comments
 (0)