]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog: Allow more spacing between posts and make headlines slightly larger
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Jun 2023 20:59:15 +0000 (20:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Jun 2023 20:59:15 +0000 (20:59 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/blog/modules/list.html

index beda14d0aa5161405fc29bbee4efede0a8448778..6d704b42560a09c94a7835abc78e7e90c333a5c7 100644 (file)
@@ -1,14 +1,19 @@
 {% for post in posts %}
-       <h6 class="title is-6">
-               <a {% if "lightningwirelabs.com" in post.tags %}class="has-text-lwl"{% end %} href="/blog/{{ post.slug }}">{{ post.title }}</a>
-       </h6>
-       <p class="subtitle is-6">
-               {{ locale.format_date(post.published_at, shorter=True, relative=relative) }}
+       <p>
+               <h5 class="title is-5">
+                       <a {% if "lightningwirelabs.com" in post.tags %}class="has-text-lwl"{% end %} href="/blog/{{ post.slug }}">
+                               {{ post.title }}
+                       </a>
+               </h5>
 
-               {% if "lightningwirelabs.com" in post.tags %}
-                       <span class="has-text-lwl">{{ _("by Lightning Wire Labs") }}</span>
-               {% elif show_author and post.author %}
-                       <a href="/blog/authors/{{ post.author.uid }}">{{ _("by %s") % post.author }}</a>
-               {% end %}
+               <h6 class="subtitle is-6">
+                       {{ locale.format_date(post.published_at, shorter=True, relative=relative) }}
+
+                       {% if "lightningwirelabs.com" in post.tags %}
+                               <span class="has-text-lwl">{{ _("by Lightning Wire Labs") }}</span>
+                       {% elif show_author and post.author %}
+                               <a href="/blog/authors/{{ post.author.uid }}">{{ _("by %s") % post.author }}</a>
+                       {% end %}
+               </h6>
        </p>
 {% end %}