blob: 32d6e4c36eee726390babddc42984fd3a14d7eff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{% extends "base.html" -%}
{%- block content %}
{{ macros::render_post(post=page, class="single") }}
{%- if "related" in page.extra and page.extra.related | length > 0 -%}
<aside class="gutter"><span>§</span></aside>
<h2 id="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 %}
|