diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/include.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/include.html index cb9c12587..9456e197e 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/include.html +++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/include.html @@ -10,7 +10,7 @@ You must call this shortcode using the {{% %}} notation. */}} {{- with .Get 0 }} - {{- with or (site.GetPage .) ($.Page.GetPage .) }} + {{- with $.Page.GetPage . }} {{- .RenderShortcodes }} {{- else }} {{- errorf "The %q shortcode was unable to find %q. See %s" $.Name . $.Position }} diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 6121aaa80..ff7309d06 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 +# github.com/gohugoio/gohugoioTheme v0.0.0-20241217195817-fc2ee93d77de diff --git a/go.mod b/go.mod index 0f4cdd57f..e38bc5350 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs go 1.22.0 -require github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 // indirect +require github.com/gohugoio/gohugoioTheme v0.0.0-20241217195817-fc2ee93d77de // indirect diff --git a/go.sum b/go.sum index e2386a94a..95707fbf6 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ -github.com/gohugoio/gohugoioTheme v0.0.0-20241119115653-b92d27ede3e1 h1:d6XNQ4QYvJGIE8vMejUFTD89AWaPDywcLivzWpEU0qE= -github.com/gohugoio/gohugoioTheme v0.0.0-20241119115653-b92d27ede3e1/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= -github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe h1:+G6k1qjxy7Cx6ZR7RXZmysp5hbFUtlvhhDP3p1VqqxA= -github.com/gohugoio/gohugoioTheme v0.0.0-20241217120756-d943fd149ebe/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253 h1:7DYEU25rQryCGyUISUpIye3oE0kz+9K9SiD6/O5rqvM= github.com/gohugoio/gohugoioTheme v0.0.0-20241217121316-f5fea3aa8253/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= +github.com/gohugoio/gohugoioTheme v0.0.0-20241217195817-fc2ee93d77de h1:RsBXZgT+6UZ1yBFiFy+Kbkyw5Yn2S7uXottd/vWGxaw= +github.com/gohugoio/gohugoioTheme v0.0.0-20241217195817-fc2ee93d77de/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM=