Documentation ¶
Overview ¶
Package template contains template definitions for the default stele blog pages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLayout ¶
func DefaultLayout(title, description, author, copyright string, menu []MenuLink) func(string) templ.Component
DefaultLayout returns a LayoutFunc that renders its children in the stele layout.
The default layout ensures that all required CSS is linked in, that the RSS feed and web manifest are present, and that page titles are correctly formatted for SEO.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package components contains templates for components used on multiple pages.
|
Package components contains templates for components used on multiple pages. |
icons
Package icons contains components that render SVG icons.
|
Package icons contains components that render SVG icons. |
Package pages contains templates for individual pages in a rendered blog.
|
Package pages contains templates for individual pages in a rendered blog. |
Click to show internal directories.
Click to hide internal directories.