Skip to content

Commit cf999c7

Browse files
author
Vincent Agnano
committed
adding europeana and Europe Empty subsites
1 parent f2fd8df commit cf999c7

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ __pycache__/
99
/data/
1010
/cafebabel/static/.webassets-cache
1111
/cafebabel/static/build
12+
/flask_resize/
13+
/venv/
283 KB
Loading

cafebabel/templates/_homepage-macro.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ <h2>{{ serie_name }}</h2>
3434
<p>{{ description }}</p>
3535
{% endif %}
3636
</div>
37+
{% if video_url %}
3738
<video class="landing-video" loop muted data-autoplay data-keepplaying><source src={{ video_url }} type="video/mp4"></video>
39+
{% endif %}
3840
</a>
3941
{% if button_text %}
4042
<a href="{{ external_link }}" class=button>{{ button_text }}</a>

cafebabel/templates/home.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ <h2>Serie</h2>
110110
<h2>Série</h2>
111111
{{ series("who-cares", 0, 'Notre regard sur les débats (g)locaux qui agitent l’Europe.', 'Regarder toutes les vidéos de la série') }}
112112
{{ participation('participate', 'Participer', 'Tu veux proposer une idée de sujet à Cafébabel ? Fais-toi plaisir.', '/article/proposal/new/', 'Par ici', '/static/img/gif-wave.gif', 'gif participer') }}
113+
{{ external_series('https://emptyeurope.cafebabel.com/', '', 'https://emptyeurope.cafebabel.com/wp-content/uploads/2019/02/video-home.mp4', 'https://emptyeurope.cafebabel.com/wp-content/uploads/2019/01/logo-empty-europe-white.svg' ,'Empty Europe logo', "Une série pour faire le vide dans les régions dépeuplées d'Europe.") }}
114+
{{ external_series('https://europeana.cafebabel.com/', '/static/img/partners/europeana.jpg', '', 'https://europeana.cafebabel.com/wp-content/uploads/2019/02/logoeuropeana-copie.jpg' ,'Europeana logo', "Une brève histoire du XXème siècle.") }}
113115
{% elif current_language == 'de' %}
114116
<h2>Serie</h2>
115117
{{ external_series('https://borderline.cafebabel.com/de/', 'https://borderline.cafebabel.com/wp-content/uploads/2018/08/Szczecin-thumbnail-1200x800.jpg', 'https://borderline.cafebabel.com/wp-content/uploads/2018/09/TSR1080.mp4', 'https://borderline.cafebabel.com/wp-content/uploads/2018/07/logo-borderline.svg' ,'Borderline logo', 'Ein frischer Blick auf Polen und seine Grenzregionen zum 100-jährigen Jubiläum der polnischen Unabhängigkeit.') }}

0 commit comments

Comments
 (0)