Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Question about modular template (begginer)

Started by Muut Archive 10 years ago · 1 replies · 462 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 2283 9 years ago
Archive · by Muut Archive, 9 years ago
2 1498 9 years ago
Archive · by Muut Archive, 9 years ago
2 4748 9 years ago
Archive · by Muut Archive, 9 years ago
1 3563 9 years ago
Archive · by Muut Archive, 9 years ago
3 1623 9 years ago