embedded

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultsYAML []byte

DefaultsYAML contains the embedded default site configuration.

View Source
var LiveReloadJS []byte

LiveReloadJS contains the embedded live reload client script.

View Source
var ScaffoldHeroDark []byte

ScaffoldHeroDark contains the dark-mode hero SVG for sarde new site.

View Source
var ScaffoldHeroLight []byte

ScaffoldHeroLight contains the light-mode hero SVG for sarde new site.

Functions

func I18nFS

func I18nFS() fs.FS

I18nFS returns the embedded i18n filesystem rooted at "i18n/".

func ThemeDirFS

func ThemeDirFS(dir string) (fs.FS, error)

ThemeDirFS returns a live disk-backed fs.FS rooted at the given directory. Used by 'sarde dev --theme-dev' for live-reload of theme assets during framework development. In production, ThemeFS() is used instead.

func ThemeFS

func ThemeFS() fs.FS

ThemeFS returns the embedded theme filesystem rooted at "theme/".

Types

This section is empty.

Jump to

Keyboard shortcuts

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