# Static site generator

> AI-ranked search results for `content templating` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 117 total matches; showing the top 24.

Explore on the web: https://awesome-repositories.com/q/content-templating

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/content-templating).**

## Results

- [twitter/hogan.js](https://awesome-repositories.com/repository/twitter-hogan-js.md) (5,124 ⭐) — hogan.js is a logic-less template compiler and Mustache templating engine. It transforms static templates into executable JavaScript functions to generate data-driven strings without using conditional or looping logic.

The system focuses on precompilation to eliminate parsing overhead during runtime execution. This includes a precompiled template library and a command line interface for converting template files into optimized JavaScript.

The engine handles dynamic content generation through template compilation and data rendering. It supports reusable UI fragments via partials and allows fo
- [linkedin/dustjs](https://awesome-repositories.com/repository/linkedin-dustjs.md) (2,913 ⭐) — Dustjs is a JavaScript templating engine and asynchronous template renderer. It functions as an isomorphic HTML generator, producing consistent output across both client and server environments.

The system employs a logic-less template syntax to separate presentation from business logic, utilizing simple tags for iteration and conditional checks. It supports asynchronous data resolution, allowing the rendering process to pause and resume as external data sources respond.

The engine provides capabilities for dynamic HTML generation, server-side rendering, and client-side templating. It utiliz
- [shopify/liquid](https://awesome-repositories.com/repository/shopify-liquid.md) (11,811 ⭐) — Liquid is a secure template engine and markup language used to generate dynamic HTML or text by combining static templates with backend data. It functions as a web template renderer that transforms markup into final output while restricting available logic to prevent arbitrary code execution.

The engine focuses on secure markup execution, providing a restricted environment where user-provided templates cannot access sensitive system data. It utilizes a safe evaluation sandbox to ensure that only a predefined set of instructions can be executed.

The system includes capabilities for template s
- [olado/dot](https://awesome-repositories.com/repository/olado-dot.md) (5,043 ⭐) — doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both browser-based interfaces and Node.js server-side environments. It transforms template strings into executable JavaScript functions to produce text output across different runtime environments.

The system focuses on pre-compiling template source files into standalone JavaScript modules at build time. This process eliminates runtime compilation overhead, increases execution speed, and prevents malicious code injection.

The engine supports logic-based interpolation using conditional
- [janl/mustache.js](https://awesome-repositories.com/repository/janl-mustache-js.md) (16,723 ⭐) — Mustache.js is a logic-less JavaScript templating engine and implementation of the Mustache specification. It merges data objects with text templates to generate formatted output, ensuring consistent rendering across different programming languages by forbidding complex logic within the templates.

The system distinguishes itself by using a logic-less approach to data binding, relying on simple variable interpolation and conditional block rendering. It supports modularity through partial template inclusion and allows for extended functionality via lambda functions that transform blocks of temp
- [wycats/handlebars.js](https://awesome-repositories.com/repository/wycats-handlebars-js.md) (18,651 ⭐) — Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static templates with dynamic data. It functions as a logic-less template engine, separating presentation from business logic by restricting the complexity of expressions within templates.

The project includes a precompiled template compiler that converts template strings into executable JavaScript functions. This mechanism reduces runtime overhead and improves rendering performance by shifting the compilation process to a build step.

The engine provides a custom helper framework for ext
- [slim-template/slim](https://awesome-repositories.com/repository/slim-template-slim.md) (5,372 ⭐) — Slim is a concise, indentation-based template language and markup engine for generating HTML and XML. Designed for the Ruby ecosystem, it converts shorthand syntax into well-formed documents without the need for traditional closing tags.

The engine functions as a multi-engine wrapper, allowing the integration of external rendering engines such as Markdown and Sass within a single template file. It also provides a command line interface for rendering templates and converting them between different markup formats.

The system supports dynamic content generation through embedded Ruby logic, incl
- [handlebars-lang/handlebars.js](https://awesome-repositories.com/repository/handlebars-lang-handlebars-js.md) (18,640 ⭐) — Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by merging data objects with templates. It utilizes an abstract syntax tree parser to transform template strings into executable JavaScript functions.

The system separates data from presentation by restricting complex logic to external helper functions rather than the template itself. It features a precompiled template compiler that converts templates into functions before deployment to increase execution speed and reduce startup latency.

The engine covers a broad range of content ge
- [relaxedjs/relaxed](https://awesome-repositories.com/repository/relaxedjs-relaxed.md) (11,790 ⭐) — ReLaXed is a document workflow and compilation system that transforms Markdown, JSON data, and HTML/CSS into print-ready PDF files. It utilizes a headless browser engine to render web technologies into final documents, serving as a build system for technical documentation and dynamic reports.

The project features a pipeline that automates asset generation, allowing scripts to produce images, charts, and tables from raw data files during the build process. It supports the integration of LaTeX formulas for mathematical equations and converts CSV files into formatted HTML tables.

The system inc
- [middleman/middleman](https://awesome-repositories.com/repository/middleman-middleman.md) (7,110 ⭐) — Middleman is a Ruby-based static site generator and web framework used to transform templates and assets into standalone HTML, CSS, and JavaScript files. It functions as a multi-engine template processor and build tool, converting source markup into production-ready websites that can be hosted on any web server.

The system is distinguished by a comprehensive asset pipeline that handles compression, minification, and fingerprinting to optimize web delivery. It features an extensible architecture with lifecycle hooks and a middleware-based request interception layer, allowing for the programmat
- [jgm/pandoc](https://awesome-repositories.com/repository/jgm-pandoc.md) (44,822 ⭐) — Pandoc is a universal document converter that translates content between a wide range of markup and binary formats. It functions by parsing input documents into a unified intermediate abstract syntax tree, which serves as the foundation for consistent manipulation and transformation across diverse output types.

The system is distinguished by its modular reader-writer pipeline, which decouples input parsing from output generation to allow for granular control over document structure. Users can programmatically manipulate this intermediate tree through a robust filter system, supporting both ex
- [typst/typst](https://awesome-repositories.com/repository/typst-typst.md) (54,320 ⭐) — Typst is a programmable, markup-based typesetting engine designed for professional document creation. It functions as a scriptable publishing toolchain that transforms plain text and code into complex, paginated outputs. By utilizing a high-performance compiler, the system automates document assembly, mathematical rendering, and dynamic content generation, providing a unified workflow for academic and technical authoring.

The engine distinguishes itself through a declarative layout framework that uses cascading rules to manage document structure and visual styling. Unlike traditional systems,
- [pugjs/pug](https://awesome-repositories.com/repository/pugjs-pug.md) (21,850 ⭐) — Pug is a template engine and compiler that transforms whitespace-sensitive shorthand syntax into standard HTML. It functions as both a Node.js template engine for server-side rendering and a browser-side precompiler for client-side templating.

The system converts template files into executable JavaScript functions to increase rendering speed. This allows for the generation of full HTML documents by combining dynamic data and logical structures, either on a server or as standalone JavaScript files for execution directly in the browser.

The engine manages the translation process through HTML t
- [mozilla/nunjucks](https://awesome-repositories.com/repository/mozilla-nunjucks.md) (8,964 ⭐) — Nunjucks is a JavaScript templating engine used for generating dynamic HTML by combining data with templates. It serves as an asynchronous template processor that allows for non-blocking execution within filters and parallel processing of iterations.

The engine features a template inheritance system where base skeleton structures are defined and extended by child templates to fill specific content blocks. It includes a security utility for context-aware HTML escaping to prevent cross-site scripting during the rendering phase.

The library provides capabilities for server-side rendering and da
- [twigphp/twig](https://awesome-repositories.com/repository/twigphp-twig.md) (8,363 ⭐) — Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It functions as a secure template language that generates HTML output by combining dynamic data with reusable layouts.

The system emphasizes security through a focus on preventing cross-site scripting attacks via automatic output escaping and content sanitization. To ensure execution efficiency, it compiles templates into optimized PHP code and utilizes a caching mechanism to bypass parsing on subsequent requests.

The engine provides comprehensive tools for template composition
- [mde/ejs](https://awesome-repositories.com/repository/mde-ejs.md) (8,105 ⭐) — EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data into template files. It functions as both a server-side template processor and a client-side rendering engine, allowing for the creation of dynamic markup in both backend and frontend environments.

The engine supports the creation of modular web layouts through partial template inclusion, where smaller reusable components are inserted into parent pages. Users can modify the template syntax by defining custom delimiters to avoid conflicts with other languages.

The project cove
- [symfony/templating](https://awesome-repositories.com/repository/symfony-templating.md) (1,021 ⭐) — This library provides a framework for building custom template systems and rendering dynamic content within web applications. It offers a set of standardized interfaces and tools designed to handle the parsing of template files, the transformation of data into structured output, and the management of template loading from various storage locations.

The component distinguishes itself through a modular architecture that supports incremental output streaming, which processes content in chunks to reduce memory usage and improve response times. It also includes integrated security features that au
- [yanhaijing/template.js](https://awesome-repositories.com/repository/yanhaijing-template-js.md) (1,320 ⭐) — Template.js is a JavaScript template engine designed for parsing and rendering dynamic HTML content in both browser and server-side environments. It functions as a frontend logic library that manages complex user interfaces through data injection, template composition, and extensible rendering logic.

The engine distinguishes itself by prioritizing performance through build-time template compilation, which transforms template files into executable modules or functions to minimize runtime overhead. It also incorporates a secure execution sandbox that restricts template logic to a controlled sco
- [open-xml-templating/docxtemplater](https://awesome-repositories.com/repository/open-xml-templating-docxtemplater.md) (3,592 ⭐) — Docxtemplater is an office document generation engine designed to automate the creation of personalized business documents, presentations, and spreadsheets. By manipulating the underlying XML structure of office files, the framework replaces placeholders within pre-designed templates with dynamic data, enabling the programmatic production of reports, invoices, and complex data-driven documents.

The project distinguishes itself through a modular extension architecture that allows developers to integrate custom logic for handling images, charts, and specialized formatting. It supports advanced
- [guigrpa/docx-templates](https://awesome-repositories.com/repository/guigrpa-docx-templates.md) (1,081 ⭐) — Docx-templates is a library designed for the programmatic generation of Word documents by merging dynamic data with predefined template files. It functions as a template engine that processes embedded instructions directly within the document structure to produce customized, data-driven output.

The engine distinguishes itself by allowing the execution of arbitrary JavaScript expressions and custom data resolvers during the generation process. This enables complex conditional logic, iterative loops, and the dynamic injection of diverse content types, including images, HTML fragments, and raw X
- [11ty/eleventy](https://awesome-repositories.com/repository/11ty-eleventy.md) (19,670 ⭐) — Eleventy is a JavaScript-based static site generator designed to transform templates, data files, and markdown into optimized HTML. It functions as a versatile template rendering engine and content management framework, allowing developers to aggregate data from diverse sources—including local files, databases, and external APIs—to populate structured web content.

The project is distinguished by its template-engine-agnostic pipeline, which decouples the build process from specific rendering languages. This allows users to integrate multiple template formats, such as Liquid, Nunjucks, Handleba
- [dotnet/templating](https://awesome-repositories.com/repository/dotnet-templating.md) (1,740 ⭐) — Overview dotnet new Template Content Repositories How to author the templates Template Samples Contributing How to build, run & debug Trademarks
- [goofychris/art-template](https://awesome-repositories.com/repository/goofychris-art-template.md) (9,861 ⭐) — art-template is a JavaScript templating engine and HTML template compiler that transforms custom syntax and script statements into optimized HTML output. It functions as a precompiled template engine that converts template source into standalone JavaScript functions to render dynamic content from data.

The engine features a template inheritance framework that organizes layouts through nesting, blocks, and inclusions to create reusable components across multiple files. It incorporates automatic output sanitization and encoding to prevent cross-site scripting attacks.

The system includes capab
- [aui/art-template](https://awesome-repositories.com/repository/aui-art-template.md) (9,862 ⭐) — art-template is a JavaScript template engine and server-side rendering engine. It functions as an abstract syntax tree compiler that translates template source code into executable JavaScript to generate HTML or text output.

The engine includes a template inheritance system that allows the definition of base layouts and reusable content blocks. It also provides a template debugging tool that maps syntax and runtime errors to exact line numbers within the source files.
