mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
1 parent
5b1eee44c6
commit
d4b9fa96f9
1 file changed
+5
@@ -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