Functions
_load_template_file
Load and lightly render a page from the ``pages/`` directory.
_load_template_file
def _load_template_file(relative_path: str) -> str
Load and lightly render a page from thepages/directory.
Parameters 1
| Name | Type | Default | Description |
|---|---|---|---|
relative_path |
str |
— | Path inside this template's |
Returns
File contents withstr
— {{date}}placeholders resolved.
_create_portfolio_template
Construct the portfolio template definition.
_create_portfolio_template
def _create_portfolio_template() -> SiteTemplate
Construct the portfolio template definition.
Returns
A :class:SiteTemplate
— SiteTemplatefor a personal portfolio site.