Defining more than just a content block from a page type layout
Created 1 year ago by kiltedup


There was a comment on an old post from Ryan about defining more than just a content block in a page type layout ( ).

Is this still applicable? Have tried this and had no success - all of the page type layout is still passed into the content block in the them layout as opposed to the different blocks in the page layout?

Curious as this is still a method that can be applied as it would be useful.



kiltedup  —  1 year ago Best Answer

OK - got it working. After looking at Anomaly\PagesModule\Page\make, i added {% extends layout('default') %} to the page type layout and then it works. Would be a nice addition to documentation.