summaryrefslogtreecommitdiffstats
path: root/hugolib
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2015-11-10 21:31:52 -0600
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2015-11-20 23:38:15 +0100
commit3abb2675c5afa3c31119dcb09a9143c87b85eda6 (patch)
tree36504126fcbfa29046a82cc8738306de6d1e04d0 /hugolib
parentafbd52f78e20892073a29dbe9c4a4dec75b4ddac (diff)
Add RSSLink to SiteInfo
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/site.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/site.go b/hugolib/site.go
index 09d42d686..fdc615bf3 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -103,6 +103,7 @@ type SiteInfo struct {
Menus *Menus
Hugo *HugoInfo
Title string
+ RSSLink string
Author map[string]interface{}
LanguageCode string
DisqusShortname string
@@ -458,6 +459,7 @@ func (s *Site) initializeSiteInfo() {
Copyright: viper.GetString("copyright"),
DisqusShortname: viper.GetString("DisqusShortname"),
GoogleAnalytics: viper.GetString("GoogleAnalytics"),
+ RSSLink: s.permalinkStr(viper.GetString("RSSUri")),
BuildDrafts: viper.GetBool("BuildDrafts"),
canonifyURLs: viper.GetBool("CanonifyURLs"),
preserveTaxonomyNames: viper.GetBool("PreserveTaxonomyNames"),