mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-05-04 10:05:50 +08:00
theme: fix context in render hooks #373
This commit is contained in:
parent
3efaa6ecd4
commit
4934d58624
@ -1,5 +1,5 @@
|
|||||||
{{- partial "shortcodes/math.html" (dict
|
{{- partial "shortcodes/math.html" (dict
|
||||||
"context" .
|
"context" .Page
|
||||||
"content" .Inner
|
"content" .Inner
|
||||||
"align" (index .Attributes "align")
|
"align" (index .Attributes "align")
|
||||||
) }}
|
) }}
|
@ -1,5 +1,5 @@
|
|||||||
{{- partial "shortcodes/mermaid.html" (dict
|
{{- partial "shortcodes/mermaid.html" (dict
|
||||||
"context" .
|
"context" .Page
|
||||||
"content" .Inner
|
"content" .Inner
|
||||||
"align" (index .Attributes "align")
|
"align" (index .Attributes "align")
|
||||||
) }}
|
) }}
|
Loading…
x
Reference in New Issue
Block a user