Browse Source

fix(shortcode/hackcss-alert): restore legacy behavior for shortcode

https://gohugo.io/news/0.55.0-relnotes/
Josh Habdas 7 months ago
parent
commit
975f2b7404
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      layouts/shortcodes/hackcss-alert.html

+ 1
- 0
layouts/shortcodes/hackcss-alert.html View File

@@ -1,3 +1,4 @@
1
+{{ $_hugo_config := `{ "version": 1 }` }}
1 2
 {{ $type := .Get "type" }}
2 3
 {{ $class := .Get "class" }}
3 4
 {{ $body := .Get "text" | default .Inner }}

Loading…
Cancel
Save