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

Find pages without current

Started by Muut Archive 10 years ago · 1 replies · 377 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 2295 9 years ago
Archive · by Muut Archive, 9 years ago
2 1508 9 years ago
Archive · by Muut Archive, 9 years ago
2 4761 9 years ago
Archive · by Muut Archive, 9 years ago
1 3576 9 years ago
Archive · by Muut Archive, 9 years ago
3 1633 9 years ago