How to access variables for simple-events in a Twig template

Hi there,

I’m quite new to the world of Grav after some small personal projects in Drupal (long time ago), Hugo and Jekyl. I need the ease of content creation for some none technical users but love the portable setup of Grav.
I have installed the simple-events plugin and modified the overview page of events to create links so I can present the single event. I am writing the template for the single event now but I don’t understand how I can get to the values of the plugin. I have tried all the ways I could think of but for example the location will always return ‘0’

    {{ dump(page) }}

    <h1>Naam: {{ page.title }}</h1>
    Naam: {{ page.header.title }}<br/>
    <h3>Datum: {{ page.header.date }}</h3>
    Locatie: {{ page.header.location }}<br/>
    Start: {{ page.simple-events.start }} <br/>
    Start: {{ page.header.simple-events["start"] }}<br/>

Here is a screenshot with the dump in the debugger:

Can anybody point me in the right direction to access these values?

Kind regards,
Marcel

You can access the event values using {{ page.header.simple_event.location }} instead of {{ page.simple-events.start }}. Ensure your plugin is correctly configured to pass the right header values.

If you need get the page URL, try this: {{ page.url() }}