This changes the way how template files are included or extended Add twig filter to get template file inside template This changes the way how template files are included or extendedpull/2474/head
parent
48eaf907e7
commit
da569547cd
@ -1,5 +1,5 @@ |
||||
{% extends template ~ "/layout/no_layout.tpl" %} |
||||
{% extends 'layout/no_layout.tpl'|get_template %} |
||||
|
||||
{% block body %} |
||||
{% include template ~ '/javascript/editor/elfinder_standalone.tpl' %} |
||||
{% include 'javascript/editor/elfinder_standalone.tpl'|get_template %} |
||||
{% endblock %} |
||||
|
@ -1,9 +1,9 @@ |
||||
{% if show_footer == true %} |
||||
</div> |
||||
</section> |
||||
{% include template ~ "/layout/page_footer.tpl" %} |
||||
{% include 'layout/page_footer.tpl'|get_template %} |
||||
{% endif %} |
||||
</div> |
||||
{% include template ~ '/layout/footer.js.tpl' %} |
||||
{% include 'layout/footer.js.tpl'|get_template %} |
||||
</body> |
||||
</html> |
||||
|
Loading…
Reference in new issue