mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 17:22:34 +08:00
only keep new syntax for shortcodes in case its content may contain footnotes, meaning block level Markdown
This commit is contained in:
parent
61f05936b1
commit
ea59244858
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/attachments.html" (dict
|
||||
"context" .Page
|
||||
"color" (.Get "color")
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/badge.html" (dict
|
||||
"context" .Page
|
||||
"color" (.Get "color")
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/button.html" (dict
|
||||
"context" .Page
|
||||
"color" (.Get "color")
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/children.html" (dict
|
||||
"context" .Page
|
||||
"containerstyle" (.Get "containerstyle")
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/icon.html" (dict
|
||||
"context" .Page
|
||||
"icon" (.Get "icon" | default (.Get 0))
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/math.html" (dict
|
||||
"context" .Page
|
||||
"content" .Inner
|
||||
|
@ -1,3 +1,4 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/mermaid.html" (dict
|
||||
"context" .Page
|
||||
"content" .Inner
|
||||
|
Loading…
x
Reference in New Issue
Block a user