-
-
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
Regression in 0.60.0 for $headless ? #6552
Comments
This seems related to what has already been reported in the forum about HTML with indentation contained in shortcodes and partials being wrapped in I have already advised @divinerites to report this bug in the Hugo issue tracker. @jensamunch as a workaround please remove the indentation from the HTML and let us know.. |
Ok will try. Super confusing to me since this is a partial template. I wouldn’t expect Hugo to be opinionated about my formatting there. Only in markup. Isn’t it normal to beautify HTML code for readability? |
Yep @jensamunch it is exactly my thought (written in the #6553). A Workaround is flatting all HTML in partials called by shortcode. |
Does atom have a plugin that allows me to flatten all files? Seems like a lot of manual work. Hmm I think I’ll Stay on Black Friday |
Hmmm. This doesn't seem to be the same issue. Now back at laptop and there is still no HTML output from flat partial:
|
That's tomorrow :-) This seems to be a bug in Goldmark -- I will take that with him. He is very quick in fixing stuff... I'm closing this in favour of #6553 . A general tip about shortcodes and HTML is that in some cases it can make sense to use the |
Actually wait @bep - this is not the same issue. My headless folder was called "customer-logos". When I changed it to "customerlogos" everything worked again. No need to flatten the HTML. So unrelated. |
I'm super confused. It's randomly working and not working...I'm just changing file names and formatting..I can't make any sense of a pattern. |
It's called parallelism ... I found the bug and will fix it soon. |
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. |
What version of Hugo are you using (
hugo version
)?Moving from 0.59.1 to 0.60.1 quietely (no warnings) stopped showing our headless content.
Here's an example of the code that outputs nothing with 0.60.0
The text was updated successfully, but these errors were encountered: