template

package
v1.0.4-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates map[string][]string

Templates map["theme_folder"]["style1", "style2" ...]

Functions

func GetActiveTheme

func GetActiveTheme(forceDatabase bool) []string

GetActiveTheme gets active theme (cached)

func LoadTemplates

func LoadTemplates()

LoadTemplates this usually runs on startup

func SaveTemplates

func SaveTemplates()

SaveTemplates save loaded templates into db, thi usually runs on startup

func SetActiveTheme

func SetActiveTheme(themeToSet []string) bool

SetActiveTheme ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL