]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog: Make clear why some posts have a different colour
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Sep 2018 16:11:24 +0000 (17:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Sep 2018 16:11:24 +0000 (17:11 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/blog/modules/list.html

index 7a91f92ad9c0068c9eadb86b0dd16a0bd3b1fac5..4b210d0245852ec0784af75f913ea6952ed49879 100644 (file)
@@ -4,5 +4,9 @@
        </strong>
        <p class="text-muted small">
                {{ locale.format_date(post.published_at, shorter=True, relative=False) }}
+
+               {% if "lightningwirelabs.com" in post.tags %}
+                       <span class="text-lwl">{{ _("by Lightning Wire Labs") }}</span>
+               {% end %}
        </p>
 {% end %}