mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-02 07:48:47 -05:00
parent
5b1eee44c6
commit
d4b9fa96f9
1 changed files with 5 additions and 0 deletions
|
@ -132,6 +132,11 @@ func (s *Site) renderPaginator(p *Page) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Site) renderRSS(p *Page) error {
|
func (s *Site) renderRSS(p *Page) error {
|
||||||
|
|
||||||
|
if viper.GetBool("disableRSS") {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
layouts := p.rssLayouts()
|
layouts := p.rssLayouts()
|
||||||
|
|
||||||
if layouts == nil {
|
if layouts == nil {
|
||||||
|
|
Loading…
Reference in a new issue