mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02: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