mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +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