mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
@ -132,6 +132,11 @@ func (s *Site) renderPaginator(p *Page) error {
|
||||
}
|
||||
|
||||
func (s *Site) renderRSS(p *Page) error {
|
||||
|
||||
if viper.GetBool("disableRSS") {
|
||||
return nil
|
||||
}
|
||||
|
||||
layouts := p.rssLayouts()
|
||||
|
||||
if layouts == nil {
|
||||
|
Reference in New Issue
Block a user