diff options
author | wd <wd@wdicc.com> | 2017-09-30 06:39:22 +0300 |
---|---|---|
committer | wd <wd@wdicc.com> | 2017-09-30 06:39:22 +0300 |
commit | bef8762bb59d59c90eaa19d5648d5dd1746df74a (patch) | |
tree | 9a8de65796329c61ef5d466a61d093ee20fca6a4 | |
parent | cb0988c2c08826e15cc0a04ab348f0bd99bc6c19 (diff) |
remove use of rssURI which is deperacted
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | exampleSite/config.toml | 9 |
2 files changed, 23 insertions, 2 deletions
@@ -1,5 +1,5 @@ # hugo-fabric -Hugo Fabric Theme, forked from https://github.com/wd/hexo-fabric. You can visit live demo at https://wdicc.com. +Hugo Fabric Theme, forked from https://github.com/wd/hexo-fabric. ![hugo-fabric screenshot](https://raw.githubusercontent.com/wd/hugo-fabric/master/images/tn.png) @@ -28,6 +28,20 @@ theme = "hugo-fabric" Please check the `exampleSite` directory for an example site. +# Hugo settings + +Set rss link name, default is rss.xml. + +``` +[outputs] +home = [ "HTML", "RSS" ] + +[outputFormats] +[outputFormats.RSS] +mediatype = "application/rss" +baseName = "atom" +``` + # Theme settings Put settings below into your config.toml. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8cbce45..47915c4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,7 +3,14 @@ languageCode = "en-us" baseurl = "https://example.org/" title = "Hugo fabric theme" theme = "hugo-fabric" -rssuri = "atom.xml" + +[outputs] +home = [ "HTML", "RSS" ] + +[outputFormats] +[outputFormats.RSS] +mediatype = "application/rss" +baseName = "atom" [params] [params.theme] |