Organize
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
{{ $densities := $params.densities }}
|
{{ $densities := $params.densities }}
|
||||||
{{ $fetchPriority := $params.fetchpriority }}
|
{{ $fetchPriority := $params.fetchpriority }}
|
||||||
{{ $height := $params.height }}
|
{{ $height := $params.height }}
|
||||||
|
{{ $intrinsicHeight := "" }}
|
||||||
|
{{ $intrinsicWidth := "" }}
|
||||||
{{ $link := $params.link }}
|
{{ $link := $params.link }}
|
||||||
{{ $linked := $params.linked }}
|
{{ $linked := $params.linked }}
|
||||||
{{ $loading := $params.loading }}
|
{{ $loading := $params.loading }}
|
||||||
@@ -21,9 +23,6 @@
|
|||||||
{{ $title := $params.title }}
|
{{ $title := $params.title }}
|
||||||
{{ $width := $params.width }}
|
{{ $width := $params.width }}
|
||||||
|
|
||||||
{{ $intrinsicHeight := "" }}
|
|
||||||
{{ $intrinsicWidth := "" }}
|
|
||||||
|
|
||||||
{{ if and (or $height $maxHeight) (not (or $maxWidth $width)) }}
|
{{ if and (or $height $maxHeight) (not (or $maxWidth $width)) }}
|
||||||
{{ $width = "auto" }}
|
{{ $width = "auto" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user