themes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package themes provides embedded theme files for markata-go.

This package embeds the default theme templates and static assets so they are always available regardless of where the binary is run.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultStatic

func DefaultStatic() fs.FS

DefaultStatic returns a filesystem containing the default theme static files.

func DefaultTemplates

func DefaultTemplates() fs.FS

DefaultTemplates returns a filesystem containing the default theme templates.

func DefaultTheme

func DefaultTheme() fs.FS

DefaultTheme returns the full embedded filesystem for the default theme.

func ListStatic

func ListStatic() ([]string, error)

ListStatic returns all static files in the default theme.

func ListTemplates

func ListTemplates() ([]string, error)

ListTemplates returns all template files in the default theme.

func ReadStatic

func ReadStatic(name string) ([]byte, error)

ReadStatic reads a static file from the embedded default theme.

func ReadTemplate

func ReadTemplate(name string) ([]byte, error)

ReadTemplate reads a template file from the embedded default theme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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