twig - page.collection() is empty despite having child pages -


i'm using masonry theme , trying show posts in collection. masonry , had working previously, page.collection empty despite having pages. i've made sure children routable , visible. reinstalled theme, no avail. ideas? @ point haven't modified code affect page logic relating collections.

at top of file is:

{% set collection = page.collection() %} 

i used

{{dump(collection)}} 

but nothing shows up. gives?

i changed page.collection page.children instead. accomplishes same thing without having add header content on page. hungtran pointing out correct way though.


Comments

Popular posts from this blog

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -