lambda-blog.templates.page

Generic HTML page templates.

banner

(banner {:keys [banner-template], :as ent})

Creates a page banner header using configured banner-template.

header

(header {:keys [favicon feed path-to-root scripts stylesheets title], :as ent})

Creates an HTML head element containing various metadata, scripts & stylesheets.

navigation

(navigation {:keys [brand brand-logo navigation-template path-to-root], :as ent})

Creates a page navbar containing branding and various links using navigation-template.

page

(page contents-template entity)

Creates a generic HTML page composed of header, navigation, banner & footer. Page contents are created using contents-template.

powered-by

(powered-by)

Creates a tiny “Powerd by λ-blog” link.

static-page

(static-page ent)

Creates a generic static page using :contents as the contents-template.