Shared Phoenix.Component templates: the site layout, masthead, footer, and
theme toggle used by the default template implementation.
Summary
Functions
Root HTML layout. Renders <!doctype html>, the <head>, masthead, the
inner block content, and the footer.
Functions
Root HTML layout. Renders <!doctype html>, the <head>, masthead, the
inner block content, and the footer.
Attributes
:titleis the document title.:descriptionis the meta description.:canonicalis the canonical URL for the current page.:siteis the site configuration keyword list.:page_kindis either:indexor:post, used to toggle the<h1>treatment in the masthead.
Attributes
title(:string) (required)description(:string) (required)canonical(:string) (required)site(:any) (required)page_kind(:atom) - Defaults to:post.og_type(:string) - Defaults to"website".og_image(:string) - Defaults tonil.published_at(:any) - Defaults tonil.updated_at(:any) - Defaults tonil.article_author(:string) - Defaults tonil.article_tags(:list) - Defaults to[].structured_data(:list) - Defaults to[].
Slots
inner_block(required)