There was an error while loading. Please reload this page.
1 parent d5ab7f0 commit f1da5a1Copy full SHA for f1da5a1
hugolib/site_render.go
@@ -17,7 +17,6 @@ import (
17
"fmt"
18
"path"
19
"sync"
20
- "time"
21
22
"github.com/spf13/hugo/helpers"
23
@@ -208,14 +207,6 @@ func (s *Site) renderRSS(p *PageOutput) error {
208
207
209
p.Kind = kindRSS
210
211
- // TODO(bep) we zero the date here to get the number of diffs down in
212
- // testing. But this should be set back later; the RSS feed should
213
- // inherit the publish date from the node it represents.
214
- if p.Kind == KindTaxonomy {
215
- var zeroDate time.Time
216
- p.Date = zeroDate
217
- }
218
-
219
limit := s.Cfg.GetInt("rssLimit")
220
if limit >= 0 && len(p.Pages) > limit {
221
p.Pages = p.Pages[:limit]
0 commit comments