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
- Collections and Pagination 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Content Hashing in Templates 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Diagrams in Templates 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Environment Variables in Templates 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Filters and Functions 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Jinja2 Support 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Media in Templates 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Modular Pages 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Page Context 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Social Sharing and SEO Metadata 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Structured Sections 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Template Syntax 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Templating Guide 0.26 0.25 0.24 0.23 0.22 0.21 0.20 0.19
- Tutorial: landing page components 0.26