pql

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AlwaysExcludeContextKeys is a pages-pql package-wide setting for a list
	// of keys to always exclude, in addition to the MustExcludeContextKeys
	AlwaysExcludeContextKeys []string

	// AlwaysIncludeContextKeys is a pages-pql package-wide setting for a list
	// of keys to always include, in addition to those specified during the
	// feature build phase with IncludeContextKeys or SetIncludedContextKeys
	AlwaysIncludeContextKeys []string
)

Functions

func BaseIncludeContextKeys

func BaseIncludeContextKeys() []string

BaseIncludeContextKeys returns the default list of included context keys for Page Query Language purposes; these keys are currently: "Type", "Language", "Url", "Title" and "Description"

func MustExcludeContextKeys

func MustExcludeContextKeys() []string

MustExcludeContextKeys returns the list of context keys that should never be indexed for Page Query Language purposes; these keys are currently: "Content" and "FrontMatter"

Types

This section is empty.

Jump to

Keyboard shortcuts

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