mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-21 20:21:54 +02:00
Update big.html to tolerate svgs
This commit is contained in:
parent
6bbd1306a8
commit
1e130fbe9a
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
{{- $alt := .Page.Title -}}
|
||||
{{- with .Page.Params.alt }}{{ $alt = . }}{{ end -}}
|
||||
{{- with $featured -}}
|
||||
{{ if $disableImageOptimization }}
|
||||
{{ if or (eq .MediaType.SubType "svg" ) ($disableImageOptimization) }}
|
||||
{{ with . }}
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" alt="{{ $alt }}" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue