hugolib: Remove unused Tmpl on Page

This commit is contained in:
Bjørn Erik Pedersen 2016-03-24 18:34:41 +01:00
parent c846b051f3
commit d770130530
2 changed files with 0 additions and 2 deletions

View file

@ -43,7 +43,6 @@ func (b basicPageHandler) Read(f *source.File, s *Site) HandledResult {
} }
page.Site = &s.Info page.Site = &s.Info
page.Tmpl = s.Tmpl
return HandledResult{file: f, page: page, err: err} return HandledResult{file: f, page: page, err: err}
} }

View file

@ -59,7 +59,6 @@ type Page struct {
Truncated bool Truncated bool
Draft bool Draft bool
PublishDate time.Time PublishDate time.Time
Tmpl tpl.Template
Markup string Markup string
extension string extension string
contentType string contentType string