Files
HugoBlox-kit/modules/wowchemy/layouts
Federico Agostini f55ff594c0 fix: shortcode context for v2 blocks (#2919)
Shortcodes in the new block system do not get access to the correct .Page variable (see #2918 ). The problem is the use of markdownify function to parse $block.content.text, since it actually is an alias to site.Home.RenderString since v 0.93.0 (see gohugoio/hugo#9959 (comment)).

This causes the shortcodes to always get the Homepage as .Page variable. The fix is to substitute markdownify with $page.RenderString, which gives the correct context.

Fixes #2918
2023-02-13 20:03:01 +00:00
..
2022-11-26 20:50:09 +00:00
2022-06-28 18:29:39 +01:00
2022-06-28 18:29:39 +01:00
2022-06-28 18:29:39 +01:00
2022-06-28 18:29:39 +01:00
2022-06-28 18:29:39 +01:00
2022-06-28 18:29:39 +01:00
2022-09-16 19:43:46 +01:00
2022-06-28 18:29:39 +01:00