ia

package
v0.0.0-...-ed9fe1d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(*web.Request) (*PageVars, error)

func (Func) Render

func (f Func) Render(req *web.Request) *response.Response

Render implements view.Page#Render

type PageVars

type PageVars struct {
	CanonicalURL       string
	Style              string
	AutomaticPlacement bool
	CoverImage         string
	CoverCaption       string
	Title              string
	Subtitle           string
	Kicker             string
	AuthorURL          string
	AuthorName         string
	PublishedAt        time.Time
	ModifiedAt         time.Time
	Body               template.HTML
}

Jump to

Keyboard shortcuts

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