postpub

package
v0.116.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 10 Imported by: 8

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(context.Context) (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