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