Researching Statamic's Layout Behavior | Swapping Antlers Layouts and Passing Data to Layouts
…rs views. Of particular interest is the render method, which makes a call to the shouldUseLayout method to determine if a layout should be used or not: 1 <?php 2 3 namespace Statamic \ View ; 4 5 // ... 6 7 class View 8 { 9 // ... 10 11 public...