diff options
author | Noah Campbell <noahcampbell@gmail.com> | 2013-09-18 10:27:56 -0700 |
---|---|---|
committer | Noah Campbell <noahcampbell@gmail.com> | 2013-09-18 10:27:56 -0700 |
commit | c510140c0c55394d5b699c62f60df53ef8a164c7 (patch) | |
tree | b1f979a2e947c95ffa03fa47153ed3163b7983b1 /hugolib/planner.go | |
parent | 67b2abaf098af8391013cb06a623df8c1a8e0f73 (diff) |
Add renderer information to --check
Now reports if the page will be rendered or not and by which render
engine.
Diffstat (limited to 'hugolib/planner.go')
-rw-r--r-- | hugolib/planner.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hugolib/planner.go b/hugolib/planner.go index 160479c4c..96962350e 100644 --- a/hugolib/planner.go +++ b/hugolib/planner.go @@ -11,7 +11,11 @@ func (s *Site) ShowPlan(out io.Writer) (err error) { } for _, p := range s.Pages { - fmt.Fprintf(out, "%s\n", p.FileName) + fmt.Fprintf(out, "%s", p.FileName) + if p.IsRenderable() { + fmt.Fprintf(out, " (renderer: markdown)") + } + fmt.Fprintf(out, "\n") fmt.Fprintf(out, " canonical => ") if s.Target == nil { fmt.Fprintf(out, "%s\n", "!no target specified!") |