Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Breadcrumbs ¶
func Breadcrumbs(breadcrumbs []Breadcrumb) *hb.Tag
Types ¶
type Breadcrumb ¶
type LayoutInterface ¶
type LayoutInterface interface {
ToHTML() string
}
LayoutInterface is the minimal contract for all page layouts. Any layout that can render itself to HTML satisfies this interface.
type Options ¶
type Options struct {
AppName string
WebsiteSection string
Title string
Content hb.TagInterface
ScriptURLs []string
Scripts []string
StyleURLs []string
Styles []string
MetaDescription string
MetaKeywords string
ImageURL string
CanonicalURL string
}
Options defines the options for the layout.
Click to show internal directories.
Click to hide internal directories.