From 8941bbf9137d55912ba830fdc535949350449200 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 21 Apr 2021 17:35:15 +0200 Subject: Show category icon in project previews --- templates/layouts/index.html | 5 +++++ templates/symbols.svg | 9 +++++++++ 2 files changed, 14 insertions(+) (limited to 'templates') diff --git a/templates/layouts/index.html b/templates/layouts/index.html index c9c695a..1099d27 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -71,6 +71,11 @@ $body$ $endif$
+ $if(it.category.icon)$ + + + + $endif$
$it.category.name$ $it.title$ diff --git a/templates/symbols.svg b/templates/symbols.svg index e96fd50..acc7f4f 100644 --- a/templates/symbols.svg +++ b/templates/symbols.svg @@ -60,5 +60,14 @@ d="m12.25 5.75c0 3.5899-2.9101 6.5-6.5 6.5m3e-7 0c0 1.1046-0.89543 2-2 2s-2-0.89543-2-2 0.89543-2 2-2 2 0.89543 2 2zm8.5-8.5c0 1.1046-0.89543 2-2 2s-2-0.89543-2-2 0.89543-2 2-2 2 0.89543 2 2zm-10.5 6.4998v-7.9998" fill="none" stroke="currentColor" /> + + + + + + + + -- cgit v1.2.3-70-g09d2