Hi,
I am building a event-page. Events are orderd by years. I want to display the last entry in the site view in the panel.
Thats works fine:
parent: site.find('termine').children.last
folder structure:
termine/year/item1
Is there a way to set the section headline dynamically to show up the year? I cant query the headline, right?!
Thanks for helping
It’s currently not possible. I think there is an ideas issue somewhere…
opened 09:52AM - 13 Jun 19 UTC
closed 11:02AM - 13 Sep 19 UTC
type: bug 🐛
**Describe the bug**
According to the documentation it should be possible to us… e query language in section headlines:
> The headline for the section. This can be a simple string or a template with additional info from the parent page.
However, a section definition like this displays just a literal string:
```
drafts:
headline: "Articles for {{ page.title }}"
```
**To Reproduce**
Steps to reproduce the behavior:
1. Add the above headline to a section in a blueprint
2. Open a page with this blueprint in the Panel
4. See error
**Expected behavior**
The query template should be resolved.
**Kirby Version**
All Kirby versions up to 3.2rc2
1 Like
texnixe:
ideas issue
The problem is: I see the client add by accident a 2019 event in ‘aktuelle Kurse’ which is actually 2020. So I 'll remove it from panel view to minimize confusion.
Thank you @texnixe