diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index fc510af..a311ce9 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -1,13 +1,15 @@ + {{ $img := $.Page.Resources.GetMatch (.Get "resrc") | resources.Fingerprint "sha512" }} + {{ if .Get "href" }}{{ end }} -