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

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -