system

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.0.2"

Variables

View Source
var (
	Config *entity.Config

	Locale *i18n.Locale

	IndexTmpl    *template.Template
	SingularTmpl *template.Template
	NotFoundTmpl *template.Template

	//go:embed locales
	LocalesFS embed.FS
	//go:embed themes/default
	ThemesFS embed.FS
)

Functions

func ReloadLocale

func ReloadLocale(v ...string)

func SaveConfig

func SaveConfig() error

func ThemeExists

func ThemeExists(v string) bool

func Themes

func Themes() (themes []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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