diff --git a/layouts/shortcodes/screenshotOf.html b/layouts/shortcodes/screenshotOf.html new file mode 100644 index 0000000..8ce6ee5 --- /dev/null +++ b/layouts/shortcodes/screenshotOf.html @@ -0,0 +1,6 @@ + +{{- $filename := .Get "src" -}} +{{- $image := .Page.Resources.GetMatch (printf "%s" $filename) -}} + + + \ No newline at end of file