Skip to content
Snippets Groups Projects
Commit d691e013 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

more video stuff, preview images in overview

parent 99629355
No related branches found
No related tags found
No related merge requests found
Pipeline #8933 passed
Showing
with 51 additions and 30 deletions
...@@ -25,25 +25,35 @@ ...@@ -25,25 +25,35 @@
{% assign feature_image = collectiondata.feature_image -%} {% assign feature_image = collectiondata.feature_image -%}
{% endif -%} {% endif -%}
{% if feature_text or feature_image -%} {% if page.layout == "video" -%}
{% if feature_image contains 'http' -%} {%- assign realslug = page.url | split:'/' | last -%}
<div class="feature"{% if feature_image %} style="background-image: url({{ feature_image }})"{% endif %}> {% capture feature_image %}https://video.chaotikum.net/thumbnails/{{realslug}}_play.png{% endcapture -%}
<div class="container typeset"> {% capture image %}https://video.chaotikum.net/thumbnails/{{realslug}}_play.png{% endcapture -%}
{{ feature_text | markdownify }} {% endif -%}
</div>
</div> {% if nofeature %}
{% else %}
{% if feature_text or feature_image -%}
{% if feature_image contains 'http' -%}
<div class="feature"{% if feature_image %} style="background-image: url({{ feature_image }})"{% endif %}>
<div class="container typeset">
{{ feature_text | markdownify }}
</div>
</div>
{% else -%}
<div class="feature"{% if feature_image %} style="background-image: url({{site.baseurl}}{{ feature_image }})"{% endif %}>
<div class="container typeset">
{{ feature_text | markdownify }}
</div>
</div>
{% endif -%}
{% else -%} {% else -%}
<div class="feature"{% if feature_image %} style="background-image: url({{site.baseurl}}{{ feature_image }})"{% endif %}> {% assign feature_image = site.default-feature -%}
<div class="container typeset"> <div class="feature"{% if feature_image %} style="background-image: url({{site.baseurl}}{{ feature_image }})"{% endif %}>
{{ feature_text | markdownify }} <div class="container typeset">
</div> {{ feature_text | markdownify }}
</div> </div>
{% endif -%}
{% else -%}
{% assign feature_image = site.default-feature -%}
<div class="feature"{% if feature_image %} style="background-image: url({{site.baseurl}}{{ feature_image }})"{% endif %}>
<div class="container typeset">
{{ feature_text | markdownify }}
</div> </div>
</div> {% endif -%}
{% endif -%} {% endif -%}
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
</div> </div>
{% if nofeature %} {% include site-feature.html %}
<!-- no feature --> {% if nofeature %}
{% else %} {% else %}
{% include site-feature.html %}
<div class="statusmobile" style="width: 80%; margin:0 auto; margin-top: -45px; background-color: #FAFAFA;"> <div class="statusmobile" style="width: 80%; margin:0 auto; margin-top: -45px; background-color: #FAFAFA;">
{% include space-status-mobile.html %} {% include space-status-mobile.html %}
</div> </div>
{% endif %} {% endif %}
{% if page.layout == "video" -%} {% if page.layout == "video" -%}
......
...@@ -12,17 +12,15 @@ ...@@ -12,17 +12,15 @@
{% assign feature_image = page.image %} {% assign feature_image = page.image %}
{% endif %} {% endif %}
{% if page.layout == "video" -%}
{%- assign realslug = page.url | split:'/' | last -%}
{% capture feature_image %}https://video.chaotikum.net/thumbnails/{{realslug}}.jpg{% endcapture -%}
{% endif -%}
{% if feature_image %} {% if feature_image %}
{% if feature_image contains '://' %} {% if feature_image contains '://' %}
<p>a</p>
<meta name="twitter:image" content="{{feature_image}}"> <meta name="twitter:image" content="{{feature_image}}">
{% else %} {% else %}
<p>b</p>
<meta name="twitter:image" content="{{site.url}}{{site.baseurl}}{{feature_image}}"> <meta name="twitter:image" content="{{site.url}}{{site.baseurl}}{{feature_image}}">
{% endif %} {% endif %}
{% else %} {% else %}
<p>c</p>
<meta name="twitter:image" content="{{site.url}}/{{site.baseurl}}{{ site.default-feature }}"> <meta name="twitter:image" content="{{site.url}}/{{site.baseurl}}{{ site.default-feature }}">
{% endif %} {% endif %}
...@@ -4,8 +4,6 @@ layout: default ...@@ -4,8 +4,6 @@ layout: default
{% include site-header.html %} {% include site-header.html %}
{% include twittercard.html %}
{% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %} {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %}
{% capture title %} {% capture title %}
......
...@@ -7,6 +7,7 @@ room: Parkplatz ...@@ -7,6 +7,7 @@ room: Parkplatz
title: "10 Jahre Chaotikum e.V. - Grillparty" title: "10 Jahre Chaotikum e.V. - Grillparty"
license: "CC-BY-NC" license: "CC-BY-NC"
uid: 5e6b423d-9315-4df5-aa9f-66ae0969952c uid: 5e6b423d-9315-4df5-aa9f-66ae0969952c
image: "https://video.chaotikum.net/thumbnails/2022-05-18-10-jahre_play.png"
ticket_id: 1173 ticket_id: 1173
yt: "https://www.youtube.com/watch?v=5vmi21ztI8k" yt: "https://www.youtube.com/watch?v=5vmi21ztI8k"
mccc: "https://media.ccc.de/v/2022-05-18-10-jahre-chaotikum-e-v-grillparty" mccc: "https://media.ccc.de/v/2022-05-18-10-jahre-chaotikum-e-v-grillparty"
......
...@@ -11,6 +11,7 @@ fahrplan_url: https://2022.nook-luebeck.de/talks/digitaler-minimalismus-fuer-kre ...@@ -11,6 +11,7 @@ fahrplan_url: https://2022.nook-luebeck.de/talks/digitaler-minimalismus-fuer-kre
image: "https://video.chaotikum.net/nook22/digitaler-minimalismus-fuer-kreativitaet.jpeg" image: "https://video.chaotikum.net/nook22/digitaler-minimalismus-fuer-kreativitaet.jpeg"
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: a5eb5a79-7ea9-4e14-b21b-a66b05dee110 uid: a5eb5a79-7ea9-4e14-b21b-a66b05dee110
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -10,6 +10,7 @@ persons: ...@@ -10,6 +10,7 @@ persons:
fahrplan_url: https://2022.nook-luebeck.de/talks/funktionelle-neurologische-stoerungen/ fahrplan_url: https://2022.nook-luebeck.de/talks/funktionelle-neurologische-stoerungen/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 3b44c586-c66c-495d-beaf-725d07b9cc18 uid: 3b44c586-c66c-495d-beaf-725d07b9cc18
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -12,6 +12,7 @@ fahrplan_url: https://2022.nook-luebeck.de/talks/musikvideos-durch-ki/ ...@@ -12,6 +12,7 @@ fahrplan_url: https://2022.nook-luebeck.de/talks/musikvideos-durch-ki/
image: "https://video.chaotikum.net/nook22/musikvideos-durch-ki.jpeg" image: "https://video.chaotikum.net/nook22/musikvideos-durch-ki.jpeg"
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: c1af1236-2609-4201-b51f-274108bcc636 uid: c1af1236-2609-4201-b51f-274108bcc636
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -10,6 +10,7 @@ persons: ...@@ -10,6 +10,7 @@ persons:
fahrplan_url: https://2022.nook-luebeck.de/talks/nicht-invasive-hirnstimulation/ fahrplan_url: https://2022.nook-luebeck.de/talks/nicht-invasive-hirnstimulation/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: e651ba3b-2e08-4887-9232-e2531e703d3f uid: e651ba3b-2e08-4887-9232-e2531e703d3f
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -12,6 +12,7 @@ persons: ...@@ -12,6 +12,7 @@ persons:
fahrplan_url: https://nook-luebeck.de/talks/aleksis-das-schul-informations-system/ fahrplan_url: https://nook-luebeck.de/talks/aleksis-das-schul-informations-system/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 3d420d08-60eb-47c0-ab6a-11fd453ae699 uid: 3d420d08-60eb-47c0-ab6a-11fd453ae699
image: ""
yt: "https://www.youtube.com/watch?v=xMZwADwdSuY" yt: "https://www.youtube.com/watch?v=xMZwADwdSuY"
mccc: "https://media.ccc.de/v/aleksis-das-schul-informations-system" mccc: "https://media.ccc.de/v/aleksis-das-schul-informations-system"
file: "https://video.chaotikum.net/nook22/aleksis-das-schul-informations-system.mov" file: "https://video.chaotikum.net/nook22/aleksis-das-schul-informations-system.mov"
......
...@@ -11,6 +11,7 @@ persons: ...@@ -11,6 +11,7 @@ persons:
fahrplan_url: https://nook-luebeck.de/talks/how-to-capture-the-flag/ fahrplan_url: https://nook-luebeck.de/talks/how-to-capture-the-flag/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 707df1f4-1d28-45ca-bf57-0578bcc009c9 uid: 707df1f4-1d28-45ca-bf57-0578bcc009c9
image: ""
yt: "https://www.youtube.com/watch?v=IO4AewizLVI" yt: "https://www.youtube.com/watch?v=IO4AewizLVI"
mccc: "https://media.ccc.de/v/how-to-capture-the-flag" mccc: "https://media.ccc.de/v/how-to-capture-the-flag"
file: "https://video.chaotikum.net/nook22/how-to-capture-the-flag.mov" file: "https://video.chaotikum.net/nook22/how-to-capture-the-flag.mov"
......
...@@ -10,6 +10,7 @@ persons: ...@@ -10,6 +10,7 @@ persons:
fahrplan_url: https://2022.nook-luebeck.de/talks/detektion-von-plaque-in-gefaessen-mit-ki/ fahrplan_url: https://2022.nook-luebeck.de/talks/detektion-von-plaque-in-gefaessen-mit-ki/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: c4434d9c-81f9-4942-9baf-88f2e5fd9fdc uid: c4434d9c-81f9-4942-9baf-88f2e5fd9fdc
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -10,6 +10,7 @@ persons: ...@@ -10,6 +10,7 @@ persons:
fahrplan_url: https://2022.nook-luebeck.de/talks/kinder-machen-ein-howto/ fahrplan_url: https://2022.nook-luebeck.de/talks/kinder-machen-ein-howto/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 909b7e64-0092-434c-8219-9c126d5503e1 uid: 909b7e64-0092-434c-8219-9c126d5503e1
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -11,6 +11,7 @@ persons: ...@@ -11,6 +11,7 @@ persons:
fahrplan_url: https://2022.nook-luebeck.de/talks/openbikesensor/ fahrplan_url: https://2022.nook-luebeck.de/talks/openbikesensor/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 50f211c1-8765-47b6-a4a2-c69a274eecea uid: 50f211c1-8765-47b6-a4a2-c69a274eecea
image: ""
yt: "" yt: ""
mccc: "" mccc: ""
file: "" file: ""
......
...@@ -9,6 +9,7 @@ persons: ...@@ -9,6 +9,7 @@ persons:
- "Juljan Bouchagiar" - "Juljan Bouchagiar"
fahrplan_url: https://2022.nook-luebeck.de/talks/thw---lasst-uns-uebers-machen-sprechen/ fahrplan_url: https://2022.nook-luebeck.de/talks/thw---lasst-uns-uebers-machen-sprechen/
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
image: ""
uid: 8f561e26-d153-4aaf-9749-331e90be0ed4 uid: 8f561e26-d153-4aaf-9749-331e90be0ed4
yt: "" yt: ""
mccc: "" mccc: ""
......
...@@ -7,6 +7,7 @@ persons: ...@@ -7,6 +7,7 @@ persons:
- "Fabi" - "Fabi"
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 67dbaaf2-a392-40da-985f-3f2750326bde uid: 67dbaaf2-a392-40da-985f-3f2750326bde
image: ""
ticket_id: 1346 ticket_id: 1346
yt: "https://www.youtube.com/watch?v=6AJwHBxa6jo" yt: "https://www.youtube.com/watch?v=6AJwHBxa6jo"
mccc: "https://media.ccc.de/v/2022-12-29-fabi-likes-p5" mccc: "https://media.ccc.de/v/2022-12-29-fabi-likes-p5"
......
...@@ -6,6 +6,7 @@ persons: ...@@ -6,6 +6,7 @@ persons:
- "Johannes Thorn" - "Johannes Thorn"
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: de51321c-547a-425e-b1bc-5b51f7e05e9c uid: de51321c-547a-425e-b1bc-5b51f7e05e9c
image: ""
ticket_id: 1353 ticket_id: 1353
yt: "https://www.youtube.com/watch?v=sFhA3zMYEIA" yt: "https://www.youtube.com/watch?v=sFhA3zMYEIA"
mccc: "https://media.ccc.de/v/2022-12-29-johannes-thorn-uber-jgiven-und-asciidoc-reporting" mccc: "https://media.ccc.de/v/2022-12-29-johannes-thorn-uber-jgiven-und-asciidoc-reporting"
......
...@@ -7,6 +7,7 @@ persons: ...@@ -7,6 +7,7 @@ persons:
license: CC-BY-NC-ND-40 license: CC-BY-NC-ND-40
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 1fc7db56-5c9d-452b-ad51-b43894f77c42 uid: 1fc7db56-5c9d-452b-ad51-b43894f77c42
image: ""
ticket_id: 1350 ticket_id: 1350
yt: "https://www.youtube.com/watch?v=zE07kstdvzc" yt: "https://www.youtube.com/watch?v=zE07kstdvzc"
mccc: "https://media.ccc.de/v/2022-12-29-neoraider-uber-linux-user-namespaces-und-den-unshare-befehl" mccc: "https://media.ccc.de/v/2022-12-29-neoraider-uber-linux-user-namespaces-und-den-unshare-befehl"
......
...@@ -6,6 +6,7 @@ persons: ...@@ -6,6 +6,7 @@ persons:
- "TVLuke" - "TVLuke"
#https://www.uuidgenerator.net/ #https://www.uuidgenerator.net/
uid: 5c5cc720-c18e-414e-a069-7acaa030c88b uid: 5c5cc720-c18e-414e-a069-7acaa030c88b
image: ""
ticket_id: 1352 ticket_id: 1352
yt: "https://www.youtube.com/watch?v=KA9-07DPPjg" yt: "https://www.youtube.com/watch?v=KA9-07DPPjg"
mccc: "https://media.ccc.de/v/2022-12-29-tvluke-uber-die-zahlen-2c-daten-2c-fakten-der-nook-2022" mccc: "https://media.ccc.de/v/2022-12-29-tvluke-uber-die-zahlen-2c-daten-2c-fakten-der-nook-2022"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment