diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/press/dld.html b/themes/tsc_vfl/layouts/shortcodes/tsc/press/dld.html index dc71bcf..844489d 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/press/dld.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/press/dld.html @@ -1,7 +1,7 @@ -{{ $res := page.Resources.GetMatch (.Get "url") }} +{{ $res := .Page.Resources.GetMatch (.Get "url") }} {{ .Inner }} diff --git a/themes/tsc_vfl/layouts/shortcodes/tsc/press/img.html b/themes/tsc_vfl/layouts/shortcodes/tsc/press/img.html index 9550210..9972683 100644 --- a/themes/tsc_vfl/layouts/shortcodes/tsc/press/img.html +++ b/themes/tsc_vfl/layouts/shortcodes/tsc/press/img.html @@ -1,7 +1,11 @@
- {{- $res := page.Resources.GetMatch (.Get "src") -}} + {{- $res := .Page.Resources.GetMatch (.Get "src") -}}