-
Notifications
You must be signed in to change notification settings - Fork 945
Open
Labels
Milestone
Description
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
-
layouts/shortcodes/alert.html
- A better alert shortcode more markdown friendly #941 -
layouts/shortcodes/blocks/cover.html
- shortcode 'blocks/cover': improvements #1400 -
layouts/shortcodes/blocks/section.html
- [BSv5] blocks/section row-col hierarchy fix #1472 -
layouts/shortcodes/blocks/lead.html
- shortcode 'blocks/lead' improvements #1398 -
layouts/shortcodes/pageinfo.html
LisaFC