page

package
v0.0.0-...-f34a01f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: BSD-2-Clause-Views Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	Title   string
	Path    string
	Body    string
	Sidebar map[string][]Page
}

Page acts as way to organize data before being sent to a template

func NewPage

func NewPage(args ...string) (*Page, error)

NewPage creates a new Page struct

Jump to

Keyboard shortcuts

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