Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Question about modular template (begginer)

Started by Muut Archive 10 years ago · 1 replies · 496 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 2545 9 years ago
Archive · by Muut Archive, 9 years ago
2 1674 9 years ago
Archive · by Muut Archive, 9 years ago
2 4957 9 years ago
Archive · by Muut Archive, 9 years ago
1 3781 9 years ago
Archive · by Muut Archive, 9 years ago
3 1788 9 years ago