mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 16:27:15 -04:00
add headings to distinguish render hook context params
This commit is contained in:
parent
d96d75be48
commit
0651a76e03
@ -49,6 +49,8 @@ Some use cases for the above:
|
||||
|
||||
## Render Hooks for Headings, Links and Images
|
||||
|
||||
### Context passed to `render-link` and `render-image`
|
||||
|
||||
The `render-link` and `render-image` templates will receive this context:
|
||||
|
||||
Page
|
||||
@ -66,6 +68,8 @@ Text
|
||||
PlainText
|
||||
: The plain variant of the above.
|
||||
|
||||
### Context passed to `render-heading`
|
||||
|
||||
The `render-heading` template will receive this context:
|
||||
|
||||
Page
|
||||
|
Loading…
x
Reference in New Issue
Block a user