mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-05 02:29:44 +00:00
perf: make visual effects and heroes more resilient
This commit is contained in:
1 parent
091f9043ee
commit
53a64328d7
6 files changed
+28
-7
No files matched your search
@@ -42,7 +42,7 @@
|
||||
{{ $featuredURL = .RelPermalink }}
|
||||
{{ if not (or $disableImageOptimization (eq .MediaType.SubType "svg")) }}
|
||||
{{ $size := site.Store.Get "backgroundImageWidth" }}
|
||||
{{ $featuredURL = (.Resize $size).RelPermalink }}
|
||||
{{ $featuredURL = (partial "functions/resize.html" (dict "resource" . "spec" $size)).RelPermalink }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user