diff options
author | Wolfgang Müller | 2022-11-04 20:33:38 +0100 |
---|---|---|
committer | Wolfgang Müller | 2022-11-04 20:33:38 +0100 |
commit | 2666c5768042bd0c7de7b774d82c6bd7bd02b9fb (patch) | |
tree | d540057fbd1b3112326d4a604b56974e28bf6bf4 /templates/page.html | |
parent | 71a942c6e9f04ff26b8404910a8a00adb51d7280 (diff) | |
download | zunzuncito-2666c5768042bd0c7de7b774d82c6bd7bd02b9fb.tar.gz |
Use "related" instead of "mentions"
Whilst we specifically mention related or relevant posts in some cases,
sometimes related posts are added without any commentary. In that case
it is confusing to name them "mentioned" without there being any mention
of them in the post itself. Naming these kinds of posts "related" makes
more sense and is clearer.
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 8 |
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 %} |