serum v1.2.0 Serum.Page View Source
Defines a struct describing a normal page.
Fields
file
: Source pathtype
: Type of source filetitle
: Page titlelabel
: Page labelgroup
: A group the page belongs toorder
: Order of the page within its groupurl
: Absolute URL of the page within the websiteoutput
: Destination pathdata
: Source data
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
to_fragment(page, templates)
View Sourceto_fragment(t(), map()) :: Serum.Result.t(Serum.Fragment.t())