mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
@@ -119,11 +119,11 @@ func (b Bytes) Bytes() []byte {
|
||||
|
||||
// DocumentContext holds contextual information about the document to convert.
|
||||
type DocumentContext struct {
|
||||
Document interface{} // May be nil. Usually a page.Page
|
||||
Document any // May be nil. Usually a page.Page
|
||||
DocumentID string
|
||||
DocumentName string
|
||||
Filename string
|
||||
ConfigOverrides map[string]interface{}
|
||||
ConfigOverrides map[string]any
|
||||
}
|
||||
|
||||
// RenderContext holds contextual information about the content to render.
|
||||
|
Reference in New Issue
Block a user