Documentation
¶
Overview ¶
webstyle renders markdown or html into a html page in the style of seankhliao.com.
Index ¶
Constants ¶
View Source
const (
DefaultGTAG = "G-9GLEE4YLNC"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Gtag string
CanonicalURL string
Manifest string
CompactStyle bool
HideTitles bool
CustomCSS string
Minify bool
Title string // title, h1
Subtitle string // link home, h2
Description string // meta description
Head []gomponents.Node
Content []gomponents.Node
}
func NewOptions ¶
func NewOptions(subtitle, title string, content []gomponents.Node) Options
type OptionsFooter ¶
type OptionsFooter struct {
}
Directories
¶
| Path | Synopsis |
|---|---|
|
midnight is a customized chroma theme for syntax highlighting.
|
midnight is a customized chroma theme for syntax highlighting. |
|
picture is a goldmark extension to render images as html picture blocks instead of img tags in a paragraph
|
picture is a goldmark extension to render images as html picture blocks instead of img tags in a paragraph |
|
webstatic embeds a filesystem for common static files needed across html pages.
|
webstatic embeds a filesystem for common static files needed across html pages. |
Click to show internal directories.
Click to hide internal directories.