mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +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.Site = &s.Info
|
||||||
page.Tmpl = s.Tmpl
|
|
||||||
|
|
||||||
return HandledResult{file: f, page: page, err: err}
|
return HandledResult{file: f, page: page, err: err}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user