diff options
Diffstat (limited to 'layouts/shortcodes/picture.html')
-rw-r--r-- | layouts/shortcodes/picture.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/picture.html b/layouts/shortcodes/picture.html new file mode 100644 index 0000000..7b05f8a --- /dev/null +++ b/layouts/shortcodes/picture.html @@ -0,0 +1,5 @@ +{{ $_hugo_config := `{ "version": 1 }` }} +{{- $img := .Get "img" }} +{{- $class := .Get "class" }} +{{- $widths := .Get "widths" }} +{{ partial "picture" (dict "img" $img "class" $class "widths" $widths) }} |