diff --git a/democracy_club/apps/hermes/admin.py b/democracy_club/apps/hermes/admin.py index 97e06c2f..bbcb42ef 100644 --- a/democracy_club/apps/hermes/admin.py +++ b/democracy_club/apps/hermes/admin.py @@ -9,7 +9,7 @@ class PostAdmin(admin.ModelAdmin): filter_horizontal = ["author"] search_fields = ["subject"] search_help_text = "Search by subject (Post title)" - list_display = ["subject", "created_on", "category"] + list_display = ["subject", "created_on", "category", "tags"] list_filter = ["is_published", "author"] diff --git a/democracy_club/templates/hermes/post_list.html b/democracy_club/templates/hermes/post_list.html index 83c6c569..cdb26565 100644 --- a/democracy_club/templates/hermes/post_list.html +++ b/democracy_club/templates/hermes/post_list.html @@ -24,10 +24,12 @@

{{ post.subject }} on - - {% for tag in post.tags %} - {{ tag }}{% if not forloop.last %}, {% endif %} - {% endfor %} +
+ + {% for tag in post.tags %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
{{ post.rendered_summary|safe|typogrify }} Read more