blob: c11c1da5951808f2eaf5d5c4fdd1af319ba4ddc7 (
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 "mentions" in page.extra and page.extra.mentions | length > 0 -%}
<h3 class="mentions">Mentioned posts</h2>
{%- for ref in page.extra.mentions %}
{%- set page = get_page(path=ref ~ "/index.md") -%}
{{ macros::render_post(post=page, class="mention") }}
{%- endfor %}
{%- endif %}
{%- endblock %}
|