mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 05:32:08 +00:00
✨ add an empty message if no news
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-5">
|
||||
{% if entry_list %}
|
||||
<ol class="md:border-l-2 border-white dark:border-slate space-y-3 md:w-[90%] mx-auto md:ml-[200px]">
|
||||
{% for entry in entry_list %}
|
||||
<li>
|
||||
@@ -118,6 +119,9 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% else %}
|
||||
<h4 class="text-center">No news items were found.</h4>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user