Refactor templates to be more structured
This commit is contained in:
10
templates/base/single.column.html.twig
Normal file
10
templates/base/single.column.html.twig
Normal file
@ -0,0 +1,10 @@
|
||||
{% extends 'base/container.html.twig' %}
|
||||
|
||||
{% block container %}
|
||||
<div class="row">
|
||||
<div class="col-sm mx-auto">
|
||||
{% if title is defined %}<h3>{{ title }}</h3>{% endif %}
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user