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

Find pages without current

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

If you are trying to get contents from a child page maybe try.

{% for p in page.find('/works').children.order('random') %}

Child Title: {{ p.title }}

Child URL: {{ p.url }}

{{ p.content }}
{% endfor %}

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2600 9 years ago
Archive · by Muut Archive, 9 years ago
2 1710 9 years ago
Archive · by Muut Archive, 9 years ago
2 5003 9 years ago
Archive · by Muut Archive, 9 years ago
1 3835 9 years ago
Archive · by Muut Archive, 9 years ago
3 1817 9 years ago