]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog: Make links to LWL articles purple
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Aug 2018 07:41:01 +0000 (08:41 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Aug 2018 07:41:01 +0000 (08:41 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/blog/modules/list.html

index 37e122ff2c3cf96ea641380bbcbbe58943124b70..7a91f92ad9c0068c9eadb86b0dd16a0bd3b1fac5 100644 (file)
@@ -1,6 +1,6 @@
 {% for post in posts %}
        <strong class="mb-0">
-               <a href="/post/{{ post.slug }}">{{ post.title }}</a>
+               <a {% if "lightningwirelabs.com" in post.tags %}class="text-lwl"{% end %} href="/post/{{ post.slug }}">{{ post.title }}</a>
        </strong>
        <p class="text-muted small">
                {{ locale.format_date(post.published_at, shorter=True, relative=False) }}