Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { Cfg config.Provider OutputFormatsConfig hugoSitesVO.Formats Language *lang.Language // The site building. Site site.Site TemplateProvider deps.ResourceProvider // The templates to use. This will usually implement the full tpl.TemplateManager. TemplateHandler template.Handler // The PathSpec to use *psEntity.PathSpec // The ContentSpec to use *csEntity.ContentSpec `json:"-"` }
func (*Deps) LoadResources ¶
LoadResources loads translations and templates.
func (*Deps) OutputFormats ¶
func (d *Deps) OutputFormats() hugoSitesVO.Formats
Click to show internal directories.
Click to hide internal directories.