blob: 95f2d62d4c5014acbade3763eafaf1f7e89815c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{% 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</h3>
{%- for ref in page.extra.related %}
{%- set page = get_page(path=ref ~ "/index.md") -%}
{{ macros::render_post(post=page, class="related") }}
{%- endfor %}
{%- endif %}
{%- endblock %}
|