{% macro latest_post(posts) %} {% set post = posts|last %} {{ post.title }} {% endmacro latest_post %} {% macro post_link(page) %}