cryogen-bootstrap/resources/templates/themes/bootstrap4/html/includes/post-latest.inc
2020-02-22 13:38:41 +01:00

10 lines
255 B
PHP

{% if latest-posts|not-empty %}
<h3>Recent Posts</h3>
<ul>
{% for post in latest-posts %}
<li>
{{post.date|date:"MMM dd"}} - <a href="{{post.uri}}">{{post.title}}</a>
</li>
{% endfor %}
</ul>
{% endif %}