From 752c54eb6320950ee0d591a6404de2ef43560c7d Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 25 Jul 2021 17:14:12 +0200 Subject: Use h3 for "Mentioned posts" An upcoming post will (finally) make use of the "mentions" feature. Whilst working on that post we noticed that the header indicating mentioned posts is a big too big and clashes even with the site title. h3 should be better suited for this purpose. Since the default margins are slightly different from h2, make sure to tweak the stylesheet too. --- templates/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/page.html b/templates/page.html index ac9a458..c11c1da 100644 --- a/templates/page.html +++ b/templates/page.html @@ -3,7 +3,7 @@ {%- block content %} {{ macros::render_post(post=page, class="single") }} {%- if "mentions" in page.extra and page.extra.mentions | length > 0 -%} -

Mentioned posts

+

Mentioned posts

{%- for ref in page.extra.mentions %} {%- set page = get_page(path=ref ~ "/index.md") -%} {{ macros::render_post(post=page, class="mention") }} -- cgit v1.2.3-2-gb3c3