blob: 645c7f2dc2f6e160e21bd70772e8a0f6409c0587 (
plain) (
tree)
|
|
{% extends "base.html" -%}
{%- block content %}
{{ macros::render_post(post=page, class="single") }}
{%- if "related" in page.extra and page.extra.related | length > 0 -%}
<h3 class="related">Related posts</h2>
{%- for ref in page.extra.related %}
{%- set page = get_page(path=ref ~ "/index.md") -%}
{{ macros::render_post(post=page, class="related") }}
{%- endfor %}
{%- endif %}
{%- endblock %}
|