summaryrefslogtreecommitdiffstatshomepage
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/page.html b/templates/page.html
index c11c1da..645c7f2 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -2,11 +2,11 @@
{%- 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 %}
+{%- 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="mention") }}
+{{ macros::render_post(post=page, class="related") }}
{%- endfor %}
{%- endif %}
{%- endblock %}