Added support for css logos

This commit is contained in:
2025-02-19 20:53:05 +01:00
parent e03e740149
commit 94b4e1f883
2 changed files with 17 additions and 1 deletions

View File

@@ -2,7 +2,11 @@
<div class="card h-100 d-flex flex-column">
<div class="card-body d-flex flex-column">
<div class="card-img-top">
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
{% if card.icon.class %}
<i class="{{ card.icon.class }}"></i>
{% else %}
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
{% endif %}
</div>
<hr />
<h3 class="card-title">{{ card.title }}</h3>