mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Add RSSLink to SiteInfo
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
afbd52f78e
commit
3abb2675c5
@@ -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"),
|
||||
|
Reference in New Issue
Block a user