shortcodes: revert to old syntax for most shortcodes #547 #555

This commit is contained in:
Sören Weber 2023-06-04 00:18:16 +02:00
parent ec134fa041
commit 2b516acac2
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{{- $_hugo_config := `{ "version": 1 }` }}
{{- $version := split hugo.Version "." }}
{{- $major := int (index $version 0) }}
{{- $minor := int (index $version 1) }}

View file

@ -1,3 +1,4 @@
{{- $_hugo_config := `{ "version": 1 }` }}
{{- partial "shortcodes/notice.html" (dict
"context" .Page
"color" (.Get "color")