mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
hugolib, output: Fix RSSLink vs output formats
And remove the now superflous setPageURLs method.
This commit is contained in:
@@ -218,7 +218,7 @@ func (s *Site) render404() error {
|
||||
p.Title = "404 Page not found"
|
||||
p.Data["Pages"] = s.Pages
|
||||
p.Pages = s.Pages
|
||||
s.setPageURLs(p, "404.html")
|
||||
p.URLPath.URL = "404.html"
|
||||
|
||||
nfLayouts := []string{"404.html"}
|
||||
|
||||
|
Reference in New Issue
Block a user