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

show dates with leading zweoes

parent cdf49c74
No related branches found
No related tags found
No related merge requests found
Pipeline #16074 passed
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
<a href="{{ site.baseurl }}{{ video.url }}"><img class="mediamaximage" src="https://video.chaotikum.net/thumbnails/{{realslug}}.jpg" alt="" width=100% height=100% style="float: left; margin-right: 15px;"/></a> <a href="{{ site.baseurl }}{{ video.url }}"><img class="mediamaximage" src="https://video.chaotikum.net/thumbnails/{{realslug}}.jpg" alt="" width=100% height=100% style="float: left; margin-right: 15px;"/></a>
<a href="{{ site.baseurl }}{{ video.url }}"><img class="mediaimage mediasideimage" src="https://video.chaotikum.net/thumbnails/{{realslug}}.jpg" alt="" width=30% height=30% style="float: left; margin-right: 15px;"/></a> <a href="{{ site.baseurl }}{{ video.url }}"><img class="mediaimage mediasideimage" src="https://video.chaotikum.net/thumbnails/{{realslug}}.jpg" alt="" width=30% height=30% style="float: left; margin-right: 15px;"/></a>
<h4 ><a href="{{ site.baseurl }}{{ video.url }}">{{ videotitle | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines }}</a></h4> <h4 ><a href="{{ site.baseurl }}{{ video.url }}">{{ videotitle | markdownify | remove: '<p>' | remove: '</p>' | strip_newlines }}</a></h4>
<spann class="fa fa-eye" aria-hidden="true"></spann><i> {{ recording_date | date: "%-d.%m.%Y" }}</i><br> <spann class="fa fa-eye" aria-hidden="true"></spann><i> {{ recording_date | date: "%d.%m.%Y" }}</i><br>
<spann class="fa fa-upload" aria-hidden="true"></spann><i> {{ video.release_date | date: "%-d.%m.%Y" }}</i> <spann class="fa fa-upload" aria-hidden="true"></spann><i> {{ video.release_date | date: "%d.%m.%Y" }}</i>
<div class="teaser"> <div class="teaser">
{{ video.excerpt | strip_html | markdownify | truncatewords: 30 }} {{ video.excerpt | strip_html | markdownify | truncatewords: 30 }}
</div> </div>
......
...@@ -109,7 +109,7 @@ layout: default ...@@ -109,7 +109,7 @@ layout: default
<p>Zu diesem Talk wurde noch kein Video veröffentlicht.<p> <p>Zu diesem Talk wurde noch kein Video veröffentlicht.<p>
{% endif -%} {% endif -%}
<div style="width: 100%; background-color:#f2f2f2; border-radius: 10px;"> <div style="width: 100%; background-color:#f2f2f2; border-radius: 10px;">
<p style="padding: 5px; margin-left: 10px; margin-top: 10px: text-align: justify"><spann class="fa fa-eye" aria-hidden="true"></spann><i> {{ recording_date | date: "%-d.%m.%Y" }}</i><br><spann class="fa fa-upload" aria-hidden="true"></spann><i> {{ page.release_date | date: "%-d.%m.%Y" }}</i><br>{{content | replace: "<p>", "" | replace: "</p>", "<br>" }} <p style="padding: 5px; margin-left: 10px; margin-top: 10px: text-align: justify"><spann class="fa fa-eye" aria-hidden="true"></spann><i> {{ recording_date | date: "%d.%m.%Y" }}</i><br><spann class="fa fa-upload" aria-hidden="true"></spann><i> {{ page.release_date | date: "%d.%m.%Y" }}</i><br>{{content | replace: "<p>", "" | replace: "</p>", "<br>" }}
{% if release_date < nowunix and page.optout != true %} {% if release_date < nowunix and page.optout != true %}
{% if page.slides and page.slides != '' -%} {% if page.slides and page.slides != '' -%}
<br><b><a href="{{page.slides}}"> Download Slides</a></b><br> <br><b><a href="{{page.slides}}"> Download Slides</a></b><br>
......
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