responsive
This commit is contained in:
@@ -28,14 +28,22 @@
|
||||
*/
|
||||
#}
|
||||
|
||||
{% set id = [elements][0].content['#view_id'] %}
|
||||
<div class="container {{id}}">
|
||||
{% if id == 'programme' %}
|
||||
{% set class = [elements][0].content['#view_id'] %}
|
||||
|
||||
{% if class == 'programme' or class == 'publications' or class == 'bibliographie' %}
|
||||
{% set addClass = 'container' %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="{{class}} {{addClass}}">
|
||||
|
||||
{% if class == 'programme' %}
|
||||
{{ title_prefix }}
|
||||
{% if label %}
|
||||
<h2{{ title_attributes }}>{{ label }}</h2>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ title_suffix }}
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
|
||||
Reference in New Issue
Block a user