Versions in this module Expand all Collapse all v0 v0.7.0 Jul 28, 2026 Changes in this version + func Find[T any](r *Registry) []T + type FieldSchema struct + Default any + Description string + EnvVarHint string + Key string + Required bool + Sensitive bool + Type string + type Hook interface + OnContentLoaded func(ctx context.Context, pages []interface{}) ([]interface{}, error) + OnOutputWritten func(ctx context.Context, outputDir string) error + OnPageRendered func(ctx context.Context, page interface{}) error + type MetadataProvider interface + PluginMetadata func() PluginMeta + type Plugin interface + Name func() string + type PluginMeta struct + Author string + IsOfficial bool + License string + RepoURL string + Tags []string + Version string + type Registry struct + func NewRegistry() *Registry + func (r *Registry) All() []Plugin + func (r *Registry) Get(name string) (Plugin, bool) + func (r *Registry) Names() []string + func (r *Registry) Register(p Plugin) error + func (r *Registry) SortedNames() []string + func (r *Registry) Unregister(name string) bool + type Schema struct + Fields []FieldSchema + type SchemaProvider interface + ConfigSchema func() Schema + type ShortcodeContext struct + Inner string + Params map[string]string + type ShortcodeHandler func(ctx ShortcodeContext) (string, error) + type ShortcodeProvider interface + Shortcodes func() map[string]ShortcodeHandler + type TemplateEntry struct + Content string + Path string + type ThemeHooks interface + AfterRender func(ctx context.Context) error + BeforeRender func(ctx context.Context) error + type ThemeInfo struct + Author string + Description string + MinHuanVer string + Name string + Screenshot string + Tags []string + Version string + type ThemePlugin interface + Assets func() fs.FS + FuncMap func() template.FuncMap + Info func() map[string]any + Templates func() []map[string]string