summaryrefslogtreecommitdiffstats
path: root/markup/converter/converter.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/converter/converter.go')
-rw-r--r--markup/converter/converter.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/markup/converter/converter.go b/markup/converter/converter.go
index e5a07f1a1..544d4841a 100644
--- a/markup/converter/converter.go
+++ b/markup/converter/converter.go
@@ -15,6 +15,7 @@ package converter
import (
"bytes"
+ "context"
"github.com/gohugoio/hugo/common/hexec"
"github.com/gohugoio/hugo/common/loggers"
@@ -141,6 +142,9 @@ type DocumentContext struct {
// RenderContext holds contextual information about the content to render.
type RenderContext struct {
+ // Ctx is the context.Context for the current Page render.
+ Ctx context.Context
+
// Src is the content to render.
Src []byte