diff options
author | tdro <tdro@noreply.example.com> | 2022-12-23 18:37:36 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-23 18:37:36 -0500 |
commit | 970de83a59457ee6e245fb35c61a6adee0e8080d (patch) | |
tree | 3689ab02e55c5a548991a0d7d08245772f4fed42 | |
parent | ae15ed22aa58ecf8a4b8266c8f9bfd23c4adeecf (diff) | |
download | canory-970de83a59457ee6e245fb35c61a6adee0e8080d.tar.gz canory-970de83a59457ee6e245fb35c61a6adee0e8080d.tar.bz2 canory-970de83a59457ee6e245fb35c61a6adee0e8080d.zip |
themes/default/layouts/shortcodes/imgur-video: Needs .Page.RenderString
The markdownify function does not pass page variables..
-rw-r--r-- | themes/default/layouts/shortcodes/imgur-video.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/imgur-video.html b/themes/default/layouts/shortcodes/imgur-video.html index 9bc130f..2edb9a4 100644 --- a/themes/default/layouts/shortcodes/imgur-video.html +++ b/themes/default/layouts/shortcodes/imgur-video.html @@ -10,5 +10,5 @@ {{- printf `{{< video source="%s" title="%s" caption="%s" options="%s" >}}` $source $title $caption $options - | markdownify + | .Page.RenderString -}} |