Topic: templating

0.27 stable

  • Collections and Pagination

    Define content collections with filtering and sorting, paginate results, and create named page relationships.

  • Content Hashing in Templates

    Compute SHA hashes of files or strings for cache busting, Subresource Integrity (SRI), and content-addressed identifiers.

  • Diagrams in Templates

    Render Mermaid (and other) diagrams from Jinja templates and frontmatter using the diagram() template function.

  • Environment Variables in Templates

    Inject build-time and runtime configuration from environment variables into your templates.

  • Filters and Functions

    Transform data with filters and generate dynamic content with functions like now(), media(), recent_documents(), and debug().

  • Jinja2 Support

    Complete reference of all template filters, tests, functions, and syntax constructs available in Accent CMS templates.

  • Media in Templates

    Work with page media assets, image processing, responsive images, thumbnails, and video embedding in templates.

  • Modular Pages

    Compose a single page from multiple content sections using modular subdirectories with independent frontmatter.

  • Page Context

    Access page hierarchy, breadcrumbs, siblings, taxonomy, computed metadata, and auto-excerpts in templates.

  • Social Sharing and SEO Metadata

    Open Graph, Twitter Cards, build-safe canonical links, and the open meta map -- every page shareable by default with zero per-page authoring.

  • Structured Sections

    Define multiple named content regions within a single markdown file for multi-region page layouts.

  • Template Syntax

    The base MiniJinja language Accent runs - variables, expressions, control flow, inheritance, macros, whitespace control, and auto-escaping - plus the exact engine version and features Accent ships.

  • Templating Guide

    Learn how to build dynamic pages with MiniJinja templates, filters, functions, and content features.

  • Tutorial: landing page components

    Build a hero, a call to action, and a teaser grid as declared components, each backed by a Jinja template in your theme.

0.28 in development

  • Collections and Pagination

    Define content collections with filtering and sorting, paginate results, and create named page relationships.

  • Content Hashing in Templates

    Compute SHA hashes of files or strings for cache busting, Subresource Integrity (SRI), and content-addressed identifiers.

  • Diagrams in Templates

    Render Mermaid (and other) diagrams from Jinja templates and frontmatter using the diagram() template function.

  • Environment Variables in Templates

    Inject build-time and runtime configuration from environment variables into your templates.

  • Filters and Functions

    Transform data with filters and generate dynamic content with functions like now(), media(), recent_documents(), and debug().

  • Jinja2 Support

    Complete reference of all template filters, tests, functions, and syntax constructs available in Accent CMS templates.

  • Media in Templates

    Work with page media assets, image processing, responsive images, thumbnails, and video embedding in templates.

  • Modular Pages

    Compose a single page from multiple content sections using modular subdirectories with independent frontmatter.

  • Page Context

    Access page hierarchy, breadcrumbs, siblings, taxonomy, computed metadata, and auto-excerpts in templates.

  • Social Sharing and SEO Metadata

    Open Graph, Twitter Cards, build-safe canonical links, and the open meta map -- every page shareable by default with zero per-page authoring.

  • Structured Sections

    Define multiple named content regions within a single markdown file for multi-region page layouts.

  • Template Syntax

    The base MiniJinja language Accent runs - variables, expressions, control flow, inheritance, macros, whitespace control, and auto-escaping - plus the exact engine version and features Accent ships.

  • Templating Guide

    Learn how to build dynamic pages with MiniJinja templates, filters, functions, and content features.

  • Tutorial: landing page components

    Build a hero, a call to action, and a teaser grid as declared components, each backed by a Jinja template in your theme.

Older versions (0.19 to 0.26): 14 pages

← All topics