Skip to content

Commit 4ce26f1

Browse files
committed
news.xml
fix #400
1 parent 8f5e38d commit 4ce26f1

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

content/posts/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: News
3+
outputs:
4+
- html
5+
- rss
6+
---

hugo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,20 @@ title = 'Neovim'
88
[permalinks]
99
posts = "/news/:year/:month/"
1010

11+
[outputs]
12+
section = ["html", "rss"]
13+
14+
[outputFormats.RSS]
15+
baseName = "news"
16+
path = "/"
17+
1118
[params]
1219
description = "vim out of the box"
1320

1421
[params.news]
1522
name = "Neovim Newsletter"
1623
authors = "Neovim Community"
1724
url = "/news"
18-
feed = "/news/index.xml"
1925

2026
[markup]
2127
# [markup.goldmark]

0 commit comments

Comments
 (0)