Documentation
¶
Index ¶
- func Archive(writer io.Writer, config site.Config, posts []blog.Post) error
- func Content(page site.Page) (string, error)
- func Feed(writer io.Writer, config site.Config, posts []blog.Post) error
- func Page(writer io.Writer, config site.Config, page site.Page) error
- func Post(writer io.Writer, config site.Config, post blog.Post) error
- func Recents(writer io.Writer, config site.Config, posts []blog.Post) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Archive ¶
Archive renders the passed blog posts to the passed io.Writer, using the site.Config to get the site's global variables as well as the "archive.html" template.
func Content ¶
Content renders the passed page's content, using the passed Site for site wide template variables.
func Feed ¶
Feed renders the passed blog posts to the passed io.Writer, using the site.Config to get feed specific metadata.
func Page ¶
Page renders the passed page to the past io.Writer, using a template loaded from the passed site.Config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.