Versions in this module Expand all Collapse all v0 v0.3.0 May 24, 2018 v0.2.0 Aug 21, 2017 Changes in this version + type EngineContext struct + func NewContext(l logger.Logger, page *models.Page, backend db.Backend, ...) *EngineContext + func (e *EngineContext) Page() *PageContext + func (e *EngineContext) Site() *SiteContext + type PageContext struct + func (p *PageContext) Content() interface{} + func (p *PageContext) CreatedAt() time.Time + func (p *PageContext) Data(key string) interface{} + func (p *PageContext) PublishedAt() time.Time + func (p *PageContext) Route() string + func (p *PageContext) Template() string + func (p *PageContext) Theme() string + func (p *PageContext) Title() string + func (p *PageContext) UpdatedAt() time.Time + type SiteContext struct + func (s *SiteContext) Data(key string) interface{} + func (s *SiteContext) Pages() SortablePages + func (s *SiteContext) Title() interface{} + type SortablePages []*PageContext + func (p SortablePages) ByPublishedAt() SortablePages + func (p SortablePages) Reverse() SortablePages