|
|
@ -121,7 +121,7 @@
|
|
|
|
{{ $smallerResource = fingerprint $smallerResource }}
|
|
|
|
{{ $smallerResource = fingerprint $smallerResource }}
|
|
|
|
{{ $intrinsicHeight = $smallerResource.Height }}
|
|
|
|
{{ $intrinsicHeight = $smallerResource.Height }}
|
|
|
|
{{ $intrinsicWidth = $smallerResource.Width }}
|
|
|
|
{{ $intrinsicWidth = $smallerResource.Width }}
|
|
|
|
{{ $src = $smallerResource.Permalink }}
|
|
|
|
{{ $src = $smallerResource.RelPermalink }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ if and (not $sizes) (not $srcset) }}
|
|
|
|
{{ if and (not $sizes) (not $srcset) }}
|
|
|
|
{{ $partialResource := "" }}
|
|
|
|
{{ $partialResource := "" }}
|
|
|
@ -223,9 +223,9 @@
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ else if $resource }}
|
|
|
|
{{ else if $resource }}
|
|
|
|
{{ $src = $resource.Permalink }}
|
|
|
|
{{ $src = $resource.RelPermalink }}
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $src = absLangURL $src }}
|
|
|
|
{{ $src = relLangURL $src }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ $content := partial "paige/tag-img.html" (dict
|
|
|
|
{{ $content := partial "paige/tag-img.html" (dict
|
|
|
|