content

package
v0.0.0-...-18c9c4f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: BSD-3-Clause Imports: 3 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 {
	item.Item

	Title   string `json:"title"`
	Content string `json:"content"`
}

func (*Page) MarshalEditor

func (p *Page) MarshalEditor() ([]byte, error)

MarshalEditor writes a buffer of html to edit a Page within the CMS and implements editor.Editable

func (*Page) String

func (p *Page) String() string

String defines how a Page is printed. Update it using more descriptive fields from the Page struct type

Jump to

Keyboard shortcuts

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