Created
December 12, 2018 00:00
-
-
Save ottaviano/98a22faf341121198a88ab46ba36031d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.html.twig' %} | |
{% block body %} | |
<ul> | |
{% for key, post in posts %} | |
<li>#{{ key + 1 }} | {{ post.title }} ({{ post.date|date('d/m/y') }})</li> | |
{% endfor %} | |
</ul> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment