{{ define "main" }} {{- $path := .Params.assetPath}} {{- $img := resources.Get $path }} {{ $mirror := where .Site.RegularPages ".Params.mirrorName" .Params.mirrorName}}

Comic for

{{ if gt $img.Width 0 }} {{- $img2xproc := printf "x%d gif q90" (math.Mul 2 $img.Height) }} {{- $img1x := $img }} {{- $img2x := $img.Resize $img2xproc }}
{{ else }} Corrupted image :-( {{ end }}
{{ end }}