]> git.ipfire.org Git - ipfire.org.git/commitdiff
styled list.html
authorRico Hoppe <rico.hoppe@ipfire.org>
Fri, 23 Jun 2023 00:10:04 +0000 (00:10 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Fri, 23 Jun 2023 00:10:04 +0000 (00:10 +0000)
src/templates/blog/modules/list.html

index b874f89bf2b1b623186c29ca2a5fe045ed9b0789..beda14d0aa5161405fc29bbee4efede0a8448778 100644 (file)
@@ -1,13 +1,12 @@
 {% for post in posts %}
-       <h6 class="mb-0">
-               <a {% if "lightningwirelabs.com" in post.tags %}class="text-lwl"{% end %} href="/blog/{{ post.slug }}">{{ post.title }}</a>
+       <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="text-muted small">
+       <p class="subtitle is-6">
                {{ locale.format_date(post.published_at, shorter=True, relative=relative) }}
 
                {% if "lightningwirelabs.com" in post.tags %}
-                       <span class="text-lwl">{{ _("by Lightning Wire Labs") }}</span>
+                       <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 %}