mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 17:04:59 -04:00
parent
5b1eee44c6
commit
d4b9fa96f9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user