Skip to main content

render_title()

Render the heading that holds title_content, or return None to omit it

Usage

Source

render_title()

Contained objects and the objects of a multi-object page keep their headings. Override render_title_content instead to change the label, so the heading and the page’s front-matter title stay the same.

Returns

BlockContent
The heading, or None for the object of a single-object API page, whose front matter already shows title_content.