summaryrefslogtreecommitdiff
path: root/themes/LoveIt/layouts/partials/plugin/icon.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
commit582a8a33aff644a6b07534aaf677973abc6f154c (patch)
tree069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/plugin/icon.html
parent038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff)
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/plugin/icon.html')
-rw-r--r--themes/LoveIt/layouts/partials/plugin/icon.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/themes/LoveIt/layouts/partials/plugin/icon.html b/themes/LoveIt/layouts/partials/plugin/icon.html
deleted file mode 100644
index c5f98db..0000000
--- a/themes/LoveIt/layouts/partials/plugin/icon.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{{- with .Class -}}
- <i class="{{ . }}" aria-hidden="true"></i>
-{{- else -}}
- {{- $src := .Src -}}
- {{- with .Simpleicons -}}
- {{- $prefix := $.Prefix | default "lib/simple-icons/icons" | strings.TrimSuffix "/" -}}
- {{- $src = printf "%v/%v.svg" $prefix . -}}
- {{- end -}}
- {{- if (urls.Parse $src).Host | not -}}
- {{- $src = (resources.Get $src | minify).RelPermalink -}}
- {{- end -}}
- <i data-svg-src="{{ $src }}" aria-hidden="true"></i>
-{{- end -}}