diff options
Diffstat (limited to 'hugolib/planner.go')
-rw-r--r-- | hugolib/planner.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/hugolib/planner.go b/hugolib/planner.go index 9abd92ff8..160479c4c 100644 --- a/hugolib/planner.go +++ b/hugolib/planner.go @@ -22,9 +22,19 @@ func (s *Site) ShowPlan(out io.Writer) (err error) { if err != nil { return err } - fmt.Fprintf(out, "%s\n", trns) + if s.Alias == nil { + continue + } + + for _, alias := range p.Aliases { + aliasTrans, err := s.Alias.Translate(alias) + if err != nil { + return err + } + fmt.Fprintf(out, " %s => %s\n", alias, aliasTrans) + } } return } |