layout

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Unlicense Imports: 0 Imported by: 0

Documentation

Overview

Package layout defines the page layout identifiers shared by the site generator (site package) and the build step (build package). Keeping them here avoids duplication and ensures both agree on the strings written into front-matter and read back during the build.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageLayout

type PageLayout string

PageLayout identifies the HTML template used to render a content page.

const (
	PageLayoutPerson          PageLayout = "person"
	PageLayoutPlace           PageLayout = "place"
	PageLayoutSource          PageLayout = "source"
	PageLayoutFamily          PageLayout = "family"
	PageLayoutCitation        PageLayout = "citation"
	PageLayoutListInferences  PageLayout = "listinferences"
	PageLayoutListAnomalies   PageLayout = "listanomalies"
	PageLayoutListTodo        PageLayout = "listtodo"
	PageLayoutListPeople      PageLayout = "listpeople"
	PageLayoutListPlaces      PageLayout = "listplaces"
	PageLayoutListSources     PageLayout = "listsources"
	PageLayoutListSurnames    PageLayout = "listsurnames"
	PageLayoutListChanges     PageLayout = "listchanges"
	PageLayoutListFamilies    PageLayout = "listfamilies"
	PageLayoutListFamilyLines PageLayout = "listfamilylines"
	PageLayoutListTrees       PageLayout = "listtrees"
	PageLayoutCalendar        PageLayout = "calendar"
	PageLayoutTreeOverview    PageLayout = "treeoverview"
	PageLayoutChartAncestors  PageLayout = "chartancestors"
	PageLayoutChartTrees      PageLayout = "charttrees"
)

Layouts for tree pages generated by the site package.

func (PageLayout) String

func (p PageLayout) String() string

Jump to

Keyboard shortcuts

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