mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Remove and update deprecation status
This commit is contained in:
@@ -250,10 +250,6 @@ func (s *Site) renderRSS(p *PageOutput) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if s.Cfg.GetBool("disableRSS") {
|
||||
return nil
|
||||
}
|
||||
|
||||
p.Kind = kindRSS
|
||||
|
||||
limit := s.Cfg.GetInt("rssLimit")
|
||||
@@ -283,10 +279,6 @@ func (s *Site) render404() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if s.Cfg.GetBool("disable404") {
|
||||
return nil
|
||||
}
|
||||
|
||||
p := s.newNodePage(kind404)
|
||||
|
||||
p.title = "404 Page not found"
|
||||
@@ -321,10 +313,6 @@ func (s *Site) renderSitemap() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if s.Cfg.GetBool("disableSitemap") {
|
||||
return nil
|
||||
}
|
||||
|
||||
sitemapDefault := parseSitemap(s.Cfg.GetStringMap("sitemap"))
|
||||
|
||||
n := s.newNodePage(kindSitemap)
|
||||
|
Reference in New Issue
Block a user