detail home

This commit is contained in:
2020-07-19 23:56:15 +02:00
parent 53963cd999
commit 85cc9c3868
18 changed files with 565 additions and 500 deletions
@@ -29,11 +29,14 @@
#}
{% set id = [elements][0].content['#view_id'] %}
<div class="container {{id}}">
{% if id == 'programme' %}
{{ title_prefix }}
{% if label %}
<h2{{ title_attributes }}>{{ label }}</h2>
{% endif %}
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
@@ -1,5 +1,5 @@
<div class="head">
<h2>{{ header }}</h2>
<h3>{{ header }}</h3>
<div class="more_link">
<a class="blue" href="{{more['#url']}}">{{ more['#title'] }}<span>+</span></a>
</div>
@@ -79,7 +79,7 @@
<article{{ attributes }} id="txt_present">
<div class="col-12 px-0 col-sm-10 col-md-8">
<div class="col-12 px-0 col-md-12 col-lg-8">
<div class="__title-present">
{{ content.field_titre_txt_present }}
@@ -46,7 +46,7 @@
*/
#}
<div class="layout-container">
<header role="banner">
<header role="banner" class="front">
{{ page.header }}
</header>
@@ -31,5 +31,6 @@
* @ingroup themeable
*/
#}
{% include 'themes/custom/popsu_colloque/template/components/thumbnails.html.twig' %}
<a href="{{fields.view_node.content}}">
{% include 'themes/custom/popsu_colloque/template/components/thumbnails.html.twig' %}
</a>
@@ -27,7 +27,7 @@
default_row_class ? 'views-row',
]
%}
<article class="thumbnails col-lg-3 col-sm-6 col-12 m-2">
<article class="thumbnails col-lg-3 col-sm-6 col-12">
{{- row.content -}}
</article>
{% endfor %}
@@ -17,21 +17,14 @@
* @ingroup themeable
*/
#}
{# <div class="__day"> #}
{% if title %}
{# <h3>{{ title }}</h3> #}
{% endif %}
{# <div class="d-flex"> #}
{% for row in rows %}
{%
set row_classes = [
default_row_class ? 'views-row',
]
%}
<article class="thumbnails">
{{- row.content -}}
</article>
{% endfor %}
{# </div> #}
{# </div> #}
{% for row in rows %}
{%
set row_classes = [
default_row_class ? 'views-row',
]
%}
<article class="thumbnails">
{{- row.content -}}
</article>
{% endfor %}