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
|
{{- partial "shortcodes/attachments.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"color" (.Get "color")
|
"color" (.Get "color")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/badge.html" (dict
|
{{- partial "shortcodes/badge.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"color" (.Get "color")
|
"color" (.Get "color")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/button.html" (dict
|
{{- partial "shortcodes/button.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"color" (.Get "color")
|
"color" (.Get "color")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/children.html" (dict
|
{{- partial "shortcodes/children.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"containerstyle" (.Get "containerstyle")
|
"containerstyle" (.Get "containerstyle")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/icon.html" (dict
|
{{- partial "shortcodes/icon.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"icon" (.Get "icon" | default (.Get 0))
|
"icon" (.Get "icon" | default (.Get 0))
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/math.html" (dict
|
{{- partial "shortcodes/math.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"content" .Inner
|
"content" .Inner
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||||
{{- partial "shortcodes/mermaid.html" (dict
|
{{- partial "shortcodes/mermaid.html" (dict
|
||||||
"context" .Page
|
"context" .Page
|
||||||
"content" .Inner
|
"content" .Inner
|
||||||
|
|
Loading…
Reference in a new issue