Building static websites, your way

...yet another static website generator

---
title: Quick Intro
slug: What can stakx do out of the box?
permalink: /blog/
---

{% extends "@theme/layouts/base.html.twig" %}

{% block content %}
    {% for post in collections.posts | order('date', 'DESC') %}
        <article>
            <h2>
                <a href="{{ url(post) }}">{{ post.title }}</a>
            </h2>
            <p class="text-muted">
                <strong>{{ post.date | date('F d, Y') }}</strong>
            </p>
        </article>
    {% endfor %}
{% endblock %}
Twig template engine logo

Made for those with a PHP background

Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum.

Secure: Twig has a sandbox mode to evaluate untrusted template code. This allows Twig to be used as a template language for applications where users may modify the template design.

Flexible: Twig is powered by a flexible lexer and parser. This allows the developer to define its own custom tags and filters, and create its own DSL.

— Twig