package
Version:
v1.16.1-alpha
Opens a new window with list of versions in this module.
Published: Jul 17, 2026
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RenderIndex renders the blog index page to w.
RenderPost renders a single blog post page to w.
type Author struct {
Name string `yaml:"name"`
Email string `yaml:"email"`
Handle string `yaml:"handle"`
}
AllPosts parses and returns all posts including drafts, sorted newest-first.
Posts parses and returns all non-draft posts sorted newest-first.
type PostMeta struct {
Slug string `yaml:"slug"`
Title string `yaml:"title"`
Subtitle string `yaml:"subtitle"`
Date string `yaml:"date"`
Authors []Author `yaml:"authors"`
Image string `yaml:"image"`
Draft bool `yaml:"draft"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.