Back to home

Templating

Symark uses a templating system to generate consistent HTML pages:

  1. HTML Template: The template/page.html file provides the structure for each generated page, with placeholders for:

    • Page title

    • Content

    • Navigation elements

    • Metadata

  2. CSS Styling: The template/styles.css file contains all styling for the generated website, including:

    • Basic typography and layout

    • Special formatting for different block types

    • Responsive design elements

    • Navigation styling

The templating system allows for consistent presentation across all generated pages while injecting the specific content and structure of each note.