You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
354 B
16 lines
354 B
{% extends('layout.njk') %}
|
|
|
|
{% block main %}
|
|
|
|
{% set posts = pageQuery.find({ orderBy: [ '-date_published' ], limit: 2, filter: { tags: { _in: [ 'tok', 'xxx' ] } } }) %}
|
|
|
|
{% for post in posts %}
|
|
<a class="post" href="{{ post.path }}">
|
|
<h2 class="post__title">
|
|
{{ post.title }}
|
|
</h2>
|
|
</a>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|