postpub

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostProcessPrefix = "__h_pp_l1"

	// The suffix has an '=' in it to prevent the minifier to remove any enclosing
	// quoutes around the attribute values.
	// See issue #8884.
	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() (any, error)

func (*PostPublishResource) Data

func (r *PostPublishResource) Data() any

func (*PostPublishResource) GetFieldString

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

func (*PostPublishResource) MediaType

func (r *PostPublishResource) MediaType() map[string]any

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