Skip to content.

Acutis is a template language that features static typing, pattern matching, and asynchronous template components. It’s a simple, yet powerful alternative to engines like Mustache, Handlebars, Liquid, and Nunjucks.

Source code | Changelog

<h1> Blog posts for {{ siteTitle }} </h1>
{% map blogPosts with {image, title, date, excerpt, author: {name}} %}
<article>
<header>
{% match image
with null %}

{* no image *}
{% with !{src, alt} %}
<img src="{{ src }}" alt="{{ alt }}" />
{% /match %}
<h2> {{ title }} </h2>
<span class="byline"> By {{ name ? "Anonymous" }} </span>
{% DateTime date format="MMMM Do, YYYY" / %}
</header>
<p> {{ excerpt }} </p>
</article>
{% /map %}