When to use a new layout twig file vs new page?
gwerner - 1 year ago
Typically the default layout.twig view contains a simple output to render the inner most guts of a page. As I am building a theme, some pages can have a wildly different layout than what may be considered the "default" layout. When is it better to create a second twig file to handle these different layouts versus creating a new page from within the admin that uses a Page Type/HTML Editor Field Type assignment to output the new layout. It seems like both could handle the task. Which is better for performance, ease of maintaining, etc? What is considered best practice from a CMS perspective?