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

set correct date

parent 87f33294
No related branches found
No related tags found
No related merge requests found
Pipeline #17058 passed
...@@ -36,7 +36,7 @@ layout: null ...@@ -36,7 +36,7 @@ layout: null
{% endfor -%} {% endfor -%}
{% endif -%} {% endif -%}
{% if video.recording_date and recording_date.event != ''-%} {% if video.recording_date and video.recording_date != ''-%}
{% assign recording_date = video.recording_date -%} {% assign recording_date = video.recording_date -%}
{% elsif event -%} {% elsif event -%}
{% assign recording_date = event.eventdate -%} {% assign recording_date = event.eventdate -%}
...@@ -66,7 +66,9 @@ layout: null ...@@ -66,7 +66,9 @@ layout: null
<description>{{ccontent}} &#xA;{% for conf in video.conferences %}{% for c in site.conferences -%}{% if conf == c.acronym and c.content != '' -%}{{c.content | strip_html | xml_escape }} &#xA;{% endif -%}{% endfor -%}{% endfor %}{% if video.licence and video.licence != '' -%}{{video.licence | strip_html | xml_escape }}{% else -%}This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC BY NC ND 4.0). https://creativecommons.org/licenses/by-nc-nd/4.0/{% endif -%}</description> <description>{{ccontent}} &#xA;{% for conf in video.conferences %}{% for c in site.conferences -%}{% if conf == c.acronym and c.content != '' -%}{{c.content | strip_html | xml_escape }} &#xA;{% endif -%}{% endfor -%}{% endfor %}{% if video.licence and video.licence != '' -%}{{video.licence | strip_html | xml_escape }}{% else -%}This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC BY NC ND 4.0). https://creativecommons.org/licenses/by-nc-nd/4.0/{% endif -%}</description>
{% endif -%} {% endif -%}
<recDate>{{ recording_date | date: '%Y-%m-%d' }}</recDate> <recDate>{{ recording_date | date: '%Y-%m-%d' }}</recDate>
<pubDate>{{ releasedate | date: '%Y-%m-%d' }}</pubDate> {% if video.release_date and video.release_date != ''-%}
<pubDate>{{ releasedate | date: '%Y-%m-%d' }}</pubDate>
{% endif -%}
<license>{{video.licence}}</license> <license>{{video.licence}}</license>
<persons>{{persons| strip}}</persons> <persons>{{persons| strip}}</persons>
{% if video.language and video.language != '' -%} {% if video.language and video.language != '' -%}
......
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