I'm displaying blog posts in a global sidebar and the snippet below works great for gathering up posts from the blog page:
- {% for post in page.find('/blog').children.order('date', 'desc').slice(0, 20) %} -
However I have three blog style pages and I'd like my sidebar to gather the blog posts from all three pages and then show the 20 most recent sorted by date regardless of what page they are children of.
/blog
/science
/diversions
How would I adjust the snippet to create a collection from all three of the blog style pages above?
Thanks in advance!