Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeNodeTitle ¶
func ComputeNodeTitle(nodeAst NodeMeta, node *manifest.Node, IndexFileNames []string, hugoEnabled bool)
ComputeNodeTitle Determines node title from its name or its parent name if it is eligible to be index file, and then normalizes either as a title - removing `-`, `_`, `.md` and converting to title case.
func MergeDocumentAndNodeFrontmatter ¶
MergeDocumentAndNodeFrontmatter merges frontmatter from document and node object
func MoveMultiSourceFrontmatterToTopDocument ¶
func MoveMultiSourceFrontmatterToTopDocument(dc []NodeMeta)
MoveMultiSourceFrontmatterToTopDocument moves MultiSource frontmatter to top document
Types ¶
Directories
¶
Path | Synopsis |
---|---|
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors
|
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors |
Click to show internal directories.
Click to hide internal directories.