Replace specific Jinja templates while keeping the rest of Webifier intact.
Template overrides are the first serious customization layer. They let you change the HTML structure without writing Python.
Webifier looks for templates in your template directory before it uses the built-in templates. If you create a file with the same relative path, your file wins.
templates/
page.html
section.html
macros/
nav.html
Then run:
webify --index index.yml --output webified --templates-dir templates
In this website, the repository root is used as the template directory, so custom templates can also live directly beside the site source.
page.html for the full page shellcontent.html for generated Markdown and notebook pagessection.html for homepage sectionsmacros/nav.html for navigationmacros/footer.html for footer behaviorrenderers/<name>.html for a specific rendererFor the complete override model, see Extension and Customization Guide.