init
This commit is contained in:
commit
c9def51b7e
38 changed files with 5755 additions and 0 deletions
13
templates/partials/layout.html.twig
Normal file
13
templates/partials/layout.html.twig
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% set item_col = show_sidebar ? 'col-12 col-md-9' : 'col-12' %}
|
||||
{% set sidebar_col = show_sidebar ? 'col-12 col-md-3' : 'col-12' %}
|
||||
|
||||
<div class="row">
|
||||
<div id="item" class="{{ item_col }} extra-spacing">
|
||||
{% block item %}{% endblock %}
|
||||
</div>
|
||||
{% if show_sidebar %}
|
||||
<div id="sidebar" class="{{ sidebar_col }}">
|
||||
{% block sidebar %}{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue