From a0b32e0b6568b4dc6876773ec2e9cfe6a3f0858f Mon Sep 17 00:00:00 2001 From: wd Date: Fri, 10 Mar 2017 20:07:27 +0800 Subject: Fix rsslink --- README.md | 3 +++ layouts/partials/navigation.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9efc32d..5f3802e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ Put settings below into your config.toml. post_type = "page" # For archive archive_post_type = "archives" + # According to https://discuss.gohugo.io/t/how-to-access-the-top-level-rsslink-from-a-post/2044, we have to set this ourself + site_rsslink = "atom.xml" + # social account github_user = "wd" twitter_user = "wd" diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index fe34abd..8b03d31 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -2,7 +2,7 @@
  • Home
  • Archives
  • Tags
  • -
  • RSS
  • +
  • RSS