Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Question about modular template (begginer)

Started by Muut Archive 10 years ago · 1 replies · 533 views
10 years ago

I'm new to Grav and started to mess with modular page. I get the idea, and followed the basic tutorial and such. I'm using the "agency" theme which have a modular template named "services". I created a "_services" modular item, but can't figure how to add a service.
The important line in services.html.twig is this one:
{% for service in page.header.services %}

I know my question is pretty basic but how do i add a service item in page.header.services?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2919 9 years ago
Archive · by Muut Archive, 9 years ago
2 1898 9 years ago
Archive · by Muut Archive, 9 years ago
2 5236 9 years ago
Archive · by Muut Archive, 9 years ago
1 4059 9 years ago
Archive · by Muut Archive, 9 years ago
3 1989 9 years ago