diff --git a/hugolib/site.go b/hugolib/site.go index 7c86d4126..b3a3a7659 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -116,6 +116,9 @@ func (s *Site) Build() (err error) { func (s *Site) Analyze() { s.Process() s.initTarget() + s.Alias = &target.HTMLRedirectAlias{ + PublishDir: s.absPublishDir(), + } s.ShowPlan(os.Stdout) }