Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Page Collection

Started by Muut Archive 10 years ago · 2 replies · 615 views
10 years ago
YAML
title: Breaking
published: true
content:
    items:
        '@page.children': /blog
    order:
        by: date
        dir: desc
    limit: 10
    pagination: true

I am using Vanilla Bone theme to practice, with default template. The theme skeleton, has Blog folder with items, it has /blog slub as well. What I am doing wrong on this?

10 years ago

Did you try, as written here, with quotes around path and on a single line ?

TXT
    items: '@page.children':'/blog'

Yaml is quite sensitive to carriage return, indentation, etc.

10 years ago

i tried this but it keeps returning to no quotes.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago