hugolib, output: Add NotAlternative to OutputFormat

To make sure CSS and similar does not appear in the AlternativeOutputFormats list.
This commit is contained in:
Bjørn Erik Pedersen
2017-04-08 11:15:28 +02:00
parent 9e69a92e85
commit 2874fc75ce
3 changed files with 16 additions and 9 deletions

View File

@@ -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
}