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

Error in Manual

Started by Muut Archive 11 years ago · 1 replies · 375 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 2289 9 years ago
Archive · by Muut Archive, 9 years ago
2 1504 9 years ago
Archive · by Muut Archive, 9 years ago
2 4754 9 years ago
Archive · by Muut Archive, 9 years ago
1 3570 9 years ago
Archive · by Muut Archive, 9 years ago
3 1627 9 years ago