pages

package
v0.7.13 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddClassNamesToNjnBlock added in v0.7.0

func AddClassNamesToNjnBlock(data map[string]interface{}, classes ...string) map[string]interface{}

func FinalizeNjnFieldAttributes added in v0.7.0

func FinalizeNjnFieldAttributes(attrs map[string]interface{}) (attributes []template.HTMLAttr, err error)

func FinalizeNjnFieldData added in v0.7.0

func FinalizeNjnFieldData(data map[string]interface{}, field map[string]interface{}, skip ...string) (err error)

func GetUrlPathSectionSlug added in v0.5.0

func GetUrlPathSectionSlug(url string) (fullpath, path, section, slug string)

func ParseNjnFieldAttributes added in v0.7.0

func ParseNjnFieldAttributes(field map[string]interface{}) (attributes map[string]interface{}, classes []string, styles map[string]string, err error)

func SearchWithin

func SearchWithin(input string, numPerPage, pageNumber int, pages []feature.Page, defaultLang, tag language.Tag, langMode lang.Mode, pfp feature.PageFormatProvider) (matches map[string]feature.Page, results *bleve.SearchResult, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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