Documentation ¶
Overview ¶
SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Roberto Hidalgo <milpa@un.rob.mx>
SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Roberto Hidalgo <milpa@un.rob.mx>
SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Roberto Hidalgo <milpa@un.rob.mx>
SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Roberto Hidalgo <milpa@un.rob.mx>
Index ¶
- Variables
- func DevelopmentStaticResourceHandler() http.Handler
- func EmbeddedStaticResourceHandler() http.Handler
- func FixLinks(contents []byte) []byte
- func FromQuery(query []string) ([]byte, error)
- func RenderHandler(serverAddr string) func(http.ResponseWriter, *http.Request)
- type Entries
- type Entry
- type FrontMatter
- type Page
- type Pages
- type StyleName
- type TemplateContents
Constants ¶
This section is empty.
Variables ¶
View Source
var LayoutTemplate []byte
View Source
var StaticFiles embed.FS
Functions ¶
func RenderHandler ¶
func RenderHandler(serverAddr string) func(http.ResponseWriter, *http.Request)
Types ¶
type FrontMatter ¶
Click to show internal directories.
Click to hide internal directories.