This commit is contained in:
Will Faught
2025-02-22 21:19:42 -08:00
parent 3c93f3c83f
commit cf5dba9476

View File

@@ -6,6 +6,8 @@
{{ $densities := $params.densities }}
{{ $fetchPriority := $params.fetchpriority }}
{{ $height := $params.height }}
{{ $intrinsicHeight := "" }}
{{ $intrinsicWidth := "" }}
{{ $link := $params.link }}
{{ $linked := $params.linked }}
{{ $loading := $params.loading }}
@@ -21,9 +23,6 @@
{{ $title := $params.title }}
{{ $width := $params.width }}
{{ $intrinsicHeight := "" }}
{{ $intrinsicWidth := "" }}
{{ if and (or $height $maxHeight) (not (or $maxWidth $width)) }}
{{ $width = "auto" }}
{{ end }}