Skip to content
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

Shortcodes: drop support for pre-Hugo-0.54.x behavior of {{% %}} #939

Open
2 of 5 tasks
chalin opened this issue Mar 21, 2022 · 0 comments
Open
2 of 5 tasks

Shortcodes: drop support for pre-Hugo-0.54.x behavior of {{% %}} #939

chalin opened this issue Mar 21, 2022 · 0 comments

Comments

@chalin
Copy link
Collaborator

chalin commented Mar 21, 2022

Here is some context:

While the change introduced by that PR was relevant at the time (during a transition period from Hugo 0.54.x to 0.55+), we now only officially support the latest version of Hugo. So, all shortcodes making use of

{{ $_hugo_config := `{ "version": 1 }` }}

should have that line removed, and the shortcode adjusted, if necessary.

$ find . -type f -not -path "*/node_modules/*" -exec grep -le '_hugo_config' {} \;
./layouts/shortcodes/alert.html
./layouts/shortcodes/blocks/cover.html
./layouts/shortcodes/blocks/section.html
./layouts/shortcodes/blocks/lead.html
./layouts/shortcodes/pageinfo.html
deining added a commit to deining/docsy that referenced this issue Feb 9, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Feb 9, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Feb 9, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Feb 10, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Feb 10, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Feb 15, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
chalin added a commit to deining/docsy that referenced this issue Mar 8, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Jun 11, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Jun 11, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
deining added a commit to deining/docsy that referenced this issue Nov 20, 2023
- use Hugo's native support for processing HTML & markdown (google#906)
- drop support for pre-Hugo-0.54.x behavior of {{% %}} google#939
@chalin chalin added this to the 24Q3 milestone Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant