Is there a way that I can create my own header item for use in my twig template.
Archive
of course, that's built-in. Documented in the docs here
TXT
custom_field: 'some value'
and then in the Twig you can access that like this:
TWIG
{{ page.header.custom_field }}
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1319 | 9 years ago | ||
| 2 | 915 | 9 years ago | ||
| 2 | 4045 | 9 years ago | ||
| 1 | 2920 | 9 years ago | ||
| 3 | 1104 | 9 years ago |