mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
hugolib: Remove unused Tmpl on Page
This commit is contained in:
1 parent
c846b051f3
commit
d770130530
2 files changed
-2
No files matched your search
@@ -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