]> git.ipfire.org Git - ipfire.org.git/commitdiff
blog: Make header purple for LWL posts
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2023 09:33:41 +0000 (09:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2023 09:33:41 +0000 (09:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/blog/post.html

index 00898f612d1f366b823c04b6cc21ccff403a714c..8683318b24cc6de771a31f84b74b8a2cfdfa8af6 100644 (file)
@@ -37,7 +37,7 @@
 {% block container %}
        {% import ipfire.accounts as accounts %}
 
-       <section class="hero {% if post.is_published() %}is-primary{% else %}is-light{% end %}">
+       <section class="hero {% if "lightningwirelabs.com" in post.tags %}is-lwl{% elif post.is_published() %}is-primary{% else %}is-light{% end %}">
                <div class="hero-body">
                        <div class="container">
                                <nav class="breadcrumb is-medium" aria-label="breadcrumbs">