mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
hugolib, output: Add NotAlternative to OutputFormat
To make sure CSS and similar does not appear in the AlternativeOutputFormats list.
This commit is contained in:
@@ -290,7 +290,7 @@ func (s *Site) renderSitemap() error {
|
||||
n.Data["Pages"] = pages
|
||||
n.Pages = pages
|
||||
|
||||
// TODO(bep) output
|
||||
// TODO(bep) we have several of these
|
||||
if err := page.initTargetPathDescriptor(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user