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 | 1321 | 9 years ago | ||
| 2 | 916 | 9 years ago | ||
| 2 | 4047 | 9 years ago | ||
| 1 | 2921 | 9 years ago | ||
| 3 | 1105 | 9 years ago |