Theme headers

Hi guys

I have a problem, I try to put in some additional header information and get is shown in my twig file.

.md
title: my title
example: hello world

twig file.
{% if page.header.example %}
{{page.header.example}}
{% endif %}

but it does not work, should you specify it for the theme or ? I have another Grav installation where I use a different theme and it works. so ?

Well that should work fine, we do this all the time. See the docs for more examples and details

try dumping the page header in the twig to see what’s in there:

{{ dump (page.header) }}

Turn on the debugger, and looking in the first “messages” tab.