about summary refs log tree commit diff
path: root/templates/index.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-14T22·41+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-14T22·41+0200
commit02a466a28be4c6fdcd88075d6345841759ff630c (patch)
tree77363e9993b867af49fc2445a90c495754dc0ffb /templates/index.html
parentba33efd772575bbd51643fbf2aa176df3bced258 (diff)
style(templates): Minor fixes to search & index layouts
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 16ddf44c364a..184e06e34101 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -26,10 +26,10 @@
         <div class="col-12">
           <div class="list-group">
             {% for thread in threads -%}
-            <a href="/thread/{{ thread.id }}" class="list-group-item list-group-item-action flex-column align-items-start {% if thread.sticky %} bg-secondary text-white {% endif %}">
+            <a href="/thread/{{ thread.id }}" class="list-group-item list-group-item-action flex-column align-items-start {%- if thread.sticky %} bg-secondary text-white {% endif -%}">
               <div class="d-flex w-100 justify-content-between">
                 <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title }}</h5>
-                <small class="{%if thread.sticky %}text-white{% else %}text-muted{% endif %}">{{ thread.posted }}</small>
+                <small class="{% if thread.sticky %}text-white{% else %}text-muted{% endif %}">{{ thread.posted }}</small>
               </div>
               <p class="mb-1">Created by {{ thread.author_name }}</p>
             </a>