]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/display.html
Improve presentation of individual quotes
[djsite.git] / quotes / templates / quotes / display.html
index 89010857aba943beb62d6a2f3ff65b904e437a99..2b1f03c31a0881fd7cba983bbb4f8447ef65f339 100644 (file)
       <p class="tags">
        Tags:
        {% for tag in quote.tags.all %}
-       <a href="{% url 'quotes:tags' tag.id %}" class="tag_link">
-         {{ tag.tag }}
-       </a>
-       {% endfor %}
+         <a href="{% url 'quotes:tags' tag.id %}" class="tag_link"
+           >{{ tag.tag }}</a
+           >{% if not forloop.last %}, {% endif %}
+        {% endfor %}
       </p>
       {% endif %}