Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Stack-page - include a bunch of blocks with content from data.yaml file

Started by Muut Archive 9 years ago · 3 replies · 499 views
9 years ago

Here is the use case I want to achieve:

I have a list of URLs to external articles I want to put on a respective page and be able to easily add new over time.
The best would be if I could pull those from a multiple .yaml files which will work more like a "DB" so I never touch the post/page itself, just reference data.yaml and those pieces of information are displayed on front end.
This is what that would roughly look like to give you the idea (link to image):

https://imgur.com/a/4kAfF

How can I achieve this with Grav?

9 years ago

@jpgiago kind of but I will have multiple .yaml files (each file = different page/category) so not sure can I do that with this plugin.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1328 9 years ago
Archive · by Muut Archive, 9 years ago
2 921 9 years ago
Archive · by Muut Archive, 9 years ago
2 4050 9 years ago
Archive · by Muut Archive, 9 years ago
1 2928 9 years ago
Archive · by Muut Archive, 9 years ago
3 1107 9 years ago