diff --git a/package-lock.json b/package-lock.json index cb29b4c..97dd658 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "devDependencies": { - "hugo-extended": "^0.121.2", + "hugo-extended": "^0.123.7", "stylelint": "^16.1.0", "stylelint-config-standard": "^36.0.0", "stylelint-config-standard-scss": "^13.0.0" @@ -1245,9 +1245,9 @@ } }, "node_modules/hugo-extended": { - "version": "0.121.2", - "resolved": "https://registry.npmjs.org/hugo-extended/-/hugo-extended-0.121.2.tgz", - "integrity": "sha512-kb5XX5b9COxI88PDoH8+n4nmt/pe8ylyFLIBSdCaAGfH9/fEvk88Bv2MabyDCwHOGIAa8M6WpwulJG007vXwWg==", + "version": "0.123.7", + "resolved": "https://registry.npmjs.org/hugo-extended/-/hugo-extended-0.123.7.tgz", + "integrity": "sha512-sxI5Us+O2t2CI9oDK/Li/VYl2gd0TdkPxKW+CQYefSN/BgSuyMSvsDNBcVfIxGs35+I3qShagt37vE0JIIcqig==", "dev": true, "hasInstallScript": true, "dependencies": { diff --git a/package.json b/package.json index e41df88..b30238d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "author": "Christian Wolf", "license": "ISC", "devDependencies": { - "hugo-extended": "^0.121.2", + "hugo-extended": "^0.123.7", "stylelint": "^16.1.0", "stylelint-config-standard": "^36.0.0", "stylelint-config-standard-scss": "^13.0.0" 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") -}}