Documentation ¶
Index ¶
- func DefaultFlagSet() *flag.FlagSet
- func FrontMatterForPath(ctx context.Context, html_opts *render.HTMLOptions, uri string) (*jekyll.FrontMatter, error)
- func GatherPosts(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, ...) (map[string][]*jekyll.FrontMatter, error)
- func RenderDirectory(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, ...) error
- func RenderHTML(ctx context.Context, root string, html_opts *render.HTMLOptions, ...) error
- func RenderPosts(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, ...) error
- func RenderRollup(ctx context.Context, root string, rollup []string, ...) error
- func Run(ctx context.Context, logger *slog.Logger) error
- func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet, logger *slog.Logger) error
- type MarkdownOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFlagSet ¶
func FrontMatterForPath ¶
func FrontMatterForPath(ctx context.Context, html_opts *render.HTMLOptions, uri string) (*jekyll.FrontMatter, error)
func GatherPosts ¶
func GatherPosts(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, uri string) (map[string][]*jekyll.FrontMatter, error)
func RenderDirectory ¶
func RenderDirectory(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, uri string) error
func RenderHTML ¶
func RenderHTML(ctx context.Context, root string, html_opts *render.HTMLOptions, fm *jekyll.FrontMatter, body *markdown.Body) error
func RenderPosts ¶
func RenderPosts(ctx context.Context, html_opts *render.HTMLOptions, md_opts *MarkdownOptions, root string, title string, posts []*jekyll.FrontMatter) error
func RenderRollup ¶
func RenderRollup(ctx context.Context, root string, rollup []string, html_opts *render.HTMLOptions, md_opts *MarkdownOptions) error
Types ¶
Click to show internal directories.
Click to hide internal directories.