mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-18 17:50:06 +00:00

only keep new syntax for shortcodes in case its content may contain footnotes, meaning block level Markdown
9 lines
No EOL
233 B
HTML
9 lines
No EOL
233 B
HTML
{{- $_hugo_config := `{ "version": 1 }` }}
|
|
{{- partial "shortcodes/badge.html" (dict
|
|
"context" .Page
|
|
"color" (.Get "color")
|
|
"content" .Inner
|
|
"icon" (.Get "icon")
|
|
"style" (.Get "style")
|
|
"title" (.Get "title")
|
|
) }} |