mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
hugolib: Remove unused Tmpl on Page
This commit is contained in:
@@ -43,7 +43,6 @@ func (b basicPageHandler) Read(f *source.File, s *Site) HandledResult {
|
||||
}
|
||||
|
||||
page.Site = &s.Info
|
||||
page.Tmpl = s.Tmpl
|
||||
|
||||
return HandledResult{file: f, page: page, err: err}
|
||||
}
|
||||
|
@@ -59,7 +59,6 @@ type Page struct {
|
||||
Truncated bool
|
||||
Draft bool
|
||||
PublishDate time.Time
|
||||
Tmpl tpl.Template
|
||||
Markup string
|
||||
extension string
|
||||
contentType string
|
||||
|
Reference in New Issue
Block a user