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
Click to show internal directories.
Click to hide internal directories.