mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00: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
7 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue