Organize
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user