diff options
author | Wolfgang Müller | 2021-07-25 17:14:12 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-07-25 17:14:12 +0200 |
commit | 752c54eb6320950ee0d591a6404de2ef43560c7d (patch) | |
tree | 02fa30ac1bd9d4ccfd433ee05d3cd5ca519667f7 /templates | |
parent | fe62e870c1389f9e25a9eaba96961b067aa9c2ed (diff) | |
download | zunzuncito-752c54eb6320950ee0d591a6404de2ef43560c7d.tar.gz |
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.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%} -<h2 class="mentions">Mentioned posts</h2> +<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") }} |