diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-10-10 07:55:58 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-10-16 13:51:33 +0200 |
commit | 2283d0056155265bb2fbf9cc8c9f10e71355d1ee (patch) | |
tree | 7cf9da65afe7b7c91dc859c74a549ea6e7371026 /ishtar_common/templates/index.html | |
parent | 6221b6260a6b97a03557acbdfcbed2c26304ed3f (diff) | |
download | Ishtar-2283d0056155265bb2fbf9cc8c9f10e71355d1ee.tar.bz2 Ishtar-2283d0056155265bb2fbf9cc8c9f10e71355d1ee.zip |
✨ Display the latest forum entries on the user home page (#5812)
Diffstat (limited to 'ishtar_common/templates/index.html')
-rw-r--r-- | ishtar_common/templates/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/index.html b/ishtar_common/templates/index.html index 69bc52617..eaaf7dd54 100644 --- a/ishtar_common/templates/index.html +++ b/ishtar_common/templates/index.html @@ -2,6 +2,12 @@ {% load i18n %} {% block content %}<div id="welcome" class="container"> <h2>{{welcome_title}}</h2> + {% if news_feed %} + <div id="news-feed" class="card p-3 mb-4"> + <h3><i class="fa fa-newspaper-o" aria-hidden="true"></i> {% trans "Latest news" %}</h3> + {{ news_feed|safe }} + </div> + {% endif %} <div class="row"> {% if display_random_image %} {{random_image}} |