perf: update card backdrop background to utilize dynamic logo image

This commit is contained in:
Cell
2025-12-25 16:57:34 +08:00
parent 06273f725d
commit dcc5e32cba
4 changed files with 5 additions and 5 deletions
+1 -3
View File
@@ -50,9 +50,7 @@
{{- end -}}
{{- end -}}
{{- $attrs := `class="cl-backdrop"` -}}
{{- $attrs = printf ` style="--cl-bg-url: url(%v);"` (resources.Get "images/fixit.svg" | minify).RelPermalink | add $attrs -}}
<span {{ $attrs | safeHTMLAttr }}></span>
<span class="cl-backdrop"></span>
<span class="cl-content">
<span class="cl-text">
<span class="cl-title">