{% extends layout %} {% block title %}Blog{% endblock %} {% block description %}All posts on this blog — a working example of a sidecar-driven listing page.{% endblock %} {% block robots %}index, follow{% endblock %} {% block canonical %}{{ request_path|default('/') }}{% endblock %} {% block og_type %}website{% endblock %} {% block og_title %}{{ block('title') }}{% endblock %} {% block og_description %}{{ block('description') }}{% endblock %} {% block og_url %}{{ block('canonical') }}{% endblock %} {% block twitter_card %}summary{% endblock %} {% block twitter_title %}{{ block('title') }}{% endblock %} {% block twitter_description %}{{ block('description') }}{% endblock %} {% block blog_content %}
Rendered by App/pages/blog/index.php and index.twig — a sidecar that returns a hand-maintained array pointing at each post directory under App/pages/blog/. Because this page has a sidecar, it's never served from the static cache; the list is rebuilt on every request, even though the array itself only changes when a post is added.
{{ post.excerpt }}…