API reference
python:doukimd.content.expand_page
function expand_page
expand_page(page: Page, root: Path, config: Config, context: dict[str, object]) -> str
Source: src/doukimd/content.py:315
Render enabled content templates exactly once.
Parameters
-
page — Type: Page
-
root — Type: Path
-
config — Type: Config
-
context — Type: dict[str, object]
Returns
Type: str