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

Error in Manual

Started by Muut Archive 11 years ago · 1 replies · 396 views
11 years ago

There's a little error in the manual:

If you want to put all your images in a single folder, you can put them in a user/pages/images folder. That way you can reach them via

page.find('/images').media['my-image.jpg']

But It should be:

pages.find('/images').media['my-image.jpg']

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2607 9 years ago
Archive · by Muut Archive, 9 years ago
2 1714 9 years ago
Archive · by Muut Archive, 9 years ago
2 5009 9 years ago
Archive · by Muut Archive, 9 years ago
1 3838 9 years ago
Archive · by Muut Archive, 9 years ago
3 1819 9 years ago