c33s / StaticPageContentBundle

provide static pages in symfony
5 stars 1 forks source link

Use an empty base template if none is provided #36

Closed ghost closed 10 years ago

ghost commented 10 years ago

This could also be useful for including pages in modal dialogs and other similiar situations

I decided to go with the basic

{% extends baseTemplate ?: 'C33sStaticPageContentBundle::empty.html.twig' %}

for simplicity. We can choose to implement array fallbacks whenever we want.