Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wd/hugo-fabric.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwd <wd@wdicc.com>2017-09-30 06:39:22 +0300
committerwd <wd@wdicc.com>2017-09-30 06:39:22 +0300
commitbef8762bb59d59c90eaa19d5648d5dd1746df74a (patch)
tree9a8de65796329c61ef5d466a61d093ee20fca6a4
parentcb0988c2c08826e15cc0a04ab348f0bd99bc6c19 (diff)
remove use of rssURI which is deperacted
-rw-r--r--README.md16
-rw-r--r--exampleSite/config.toml9
2 files changed, 23 insertions, 2 deletions
diff --git a/README.md b/README.md
index bfb21a0..211d9fa 100644
--- a/README.md
+++ b/README.md
@@ -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]