Added support for css logos

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

No files matched your search

+5 -1
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>