diff --git a/content/news/_index.md b/content/news/_index.md deleted file mode 100644 index bd3ecbb..0000000 --- a/content/news/_index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: News -active: News -layout: news_section ---- diff --git a/content/news/archive.md b/content/news/archive.md deleted file mode 100644 index 288f7fa..0000000 --- a/content/news/archive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: News archive -active: News -layout: news_archive ---- diff --git a/content/posts/_index.md b/content/posts/_index.md new file mode 100644 index 0000000..57fdad7 --- /dev/null +++ b/content/posts/_index.md @@ -0,0 +1,6 @@ +--- +title: News +outputs: + - html + - rss +--- diff --git a/hugo.toml b/hugo.toml index 3fe5b34..f175b52 100644 --- a/hugo.toml +++ b/hugo.toml @@ -8,6 +8,13 @@ title = 'Neovim' [permalinks] posts = "/news/:year/:month/" +[outputs] + section = ["html", "rss"] + +[outputFormats.RSS] + baseName = "news" + path = "/" + [params] description = "vim out of the box" @@ -15,7 +22,6 @@ title = 'Neovim' name = "Neovim Newsletter" authors = "Neovim Community" url = "/news" - feed = "/news/index.xml" [markup] # [markup.goldmark]