postpub

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

View Source
const (
	PostProcessPrefix = "__h_pp_l1"
	PostProcessSuffix = "__e"
)
View Source
const (
	FieldNotSupported = "__field_not_supported"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PostPublishResource

type PostPublishResource struct {
	// contains filtered or unexported fields
}

postPublishResource holds a Resource to be transformed post publishing.

func (*PostPublishResource) Content

func (r *PostPublishResource) Content() (interface{}, error)

func (*PostPublishResource) Data

func (r *PostPublishResource) Data() interface{}

func (*PostPublishResource) GetFieldString

func (r *PostPublishResource) GetFieldString(pattern string) (string, bool)

func (*PostPublishResource) MediaType

func (r *PostPublishResource) MediaType() map[string]interface{}

func (*PostPublishResource) Name

func (r *PostPublishResource) Name() string

func (*PostPublishResource) Origin

func (*PostPublishResource) Params

func (r *PostPublishResource) Params() maps.Params
func (r *PostPublishResource) Permalink() string
func (r *PostPublishResource) RelPermalink() string

func (*PostPublishResource) ResourceType

func (r *PostPublishResource) ResourceType() string

func (*PostPublishResource) Title

func (r *PostPublishResource) Title() string

Jump to

Keyboard shortcuts

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