html

package
v0.0.0-...-5f18729 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArticlePage

func ArticlePage(a model.Article, search string) g.Node

func Container

func Container(padY bool, children ...g.Node) g.Node

func ErrorPage

func ErrorPage() g.Node

func HomePage

func HomePage(articles []model.Article, search string) g.Node

func NewArticlePage

func NewArticlePage() g.Node

func NotFoundPage

func NotFoundPage() g.Node

func Page

func Page(p PageProps, body ...g.Node) g.Node

func Prose

func Prose(children ...g.Node) g.Node

Types

type PageProps

type PageProps struct {
	Title       string
	Description string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL