-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New $_hugo_config in shortcode do not work in some case in 0.55 #5831
Comments
Tried different combinations of {{<>}} and markdonify and $_hugo_config without success. May be impacted by the cascading partials involved ?? |
Sorry for not doing this before : This is a repo showing the problem in 0.55 and working in 0.54. |
I minimized the evidence repo and narrowed the problem. I can reproduce this behaviour with this
Here is the result |
Just tested 0.56-DEV with your commit. Works like a charm now. Many many thanks !! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Tested on hugo latest v.0.55-DEV just before official release
<pre><code>
plus what looks like encoding process.<pre><code>
I guess it seems related to
{{ .Content }}
behaviour when called from a{{%
shortcode as mentioned by Bep in #5827 (comment)Adding
{{ $_hugo_config := { "version": 1 } }}
first line of shortcode didn't solved it.ZIP file sent by mail (repo is private on our servers)
Good HTML with v0.54
bad HTML vwith v0.55-DEV
This is my
content/stats/file.md
This is my
layouts/shortcodes/csvdata-stats.html
fileThis is my
layouts/partials/csvdata-stats-unitaire.html
fileThis is the part where this code is generated in
theme/uno/layouts/_default/single.html
The text was updated successfully, but these errors were encountered: