summaryrefslogtreecommitdiffstatshomepage
path: root/templates/page.html
diff options
context:
space:
mode:
authorWolfgang Müller2024-10-05 10:49:22 +0200
committerWolfgang Müller2024-10-05 10:49:22 +0200
commit9130351091f8d947bddfdb3b11718f1078e286ba (patch)
tree6ccc58167278110e19b9b2568116f9733be10d86 /templates/page.html
parent1fd8fc8b4e3e325b389c67deede3d2c8e696f1c8 (diff)
downloadzunzuncito-9130351091f8d947bddfdb3b11718f1078e286ba.tar.gz
templates: Use correct closing tag for related posts
Judging from the CSS this was supposed to be </h3> and not </h2>.
Diffstat (limited to '')
-rw-r--r--templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 645c7f2..95f2d62 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -3,7 +3,7 @@
{%- 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</h2>
+<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") }}