Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Question about modular template (begginer)

Started by Muut Archive 9 years ago · 1 replies · 373 views
9 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 1336 9 years ago
Archive · by Muut Archive, 9 years ago
2 926 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago