theme: fix context in render hooks #373

This commit is contained in:
Sören Weber 2022-11-06 10:01:53 +01:00
parent 3efaa6ecd4
commit 4934d58624
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 2 deletions

View file

@ -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")
) }} ) }}

View file

@ -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")
) }} ) }}