diff --git a/_layouts/video.html b/_layouts/video.html index d85030048b5c9d3348152206a754bc5c7a7ee2b1..1c6cf9e335c0cf85690ae682485ca6df41dc704b 100644 --- a/_layouts/video.html +++ b/_layouts/video.html @@ -110,13 +110,15 @@ layout: default {% endif -%} <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>" }} - {% if page.slides and page.slides != '' -%} - <br><b><a href="{{page.slides}}"> Download Slides</a></b><br> - {% endif -%} - {% if page.closedcaption and page.closedcaption != '' -%} - <br><b><a href="{{page.closedcaption}}"> Download Untertitel - {% if page.cccomputergen and page.cccomputergen != '' -%} - (automatisch erstellt) + {% if release_date < nowunix and page.optout != true %} + {% if page.slides and page.slides != '' -%} + <br><b><a href="{{page.slides}}"> Download Slides</a></b><br> + {% endif -%} + {% if page.closedcaption and page.closedcaption != '' -%} + <br><b><a href="{{page.closedcaption}}"> Download Untertitel + {% if page.cccomputergen and page.cccomputergen != '' -%} + (automatisch erstellt) + {% endif -%} {% endif -%} </a></b></p> {% endif -%}