Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoTemplates is returned by Templates when no page // templates have been found by the walk matcher. ErrNoTemplates = errors.New("no page templates found") // ErrNoLayouts is returned by Layouts when no page // layouts have been found by the walk matcher. ErrNoLayouts = errors.New("no page templates found") // ErrNoTheme is returned by Exists when no theme // has been found. ErrNoTheme = errors.New("no theme found") )
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { List(activeTheme string) ([]*domain.ThemeConfig, error) Find(theme string) (*domain.ThemeConfig, error) Exists(theme string) bool Templates(theme string) (domain.Templates, error) Layouts(theme string) (domain.Layouts, error) Screenshot(theme string, file string) ([]byte, domain.Mime, error) }
Repository defines methods for the theme.
Click to show internal directories.
Click to hide internal directories.