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

better line breaks?

parent 89232876
No related branches found
No related tags found
No related merge requests found
Pipeline #14948 passed
......@@ -298,34 +298,35 @@ Finding the first and last talk to establish the variables "earliest" and "lates
<language>de</language>
{% endif -%}
<abstract/>
{% capture content %}{{video.content | strip | strip_html | xml_escape | remove: '</p>' | strip }}{% endcapture -%}
{% if content and content != '' -%}
<description>{{content}}
{% for conf in video.conferences -%}
{% capture ccontent %}{{video.content | strip_html | xml_escape }}{% endcapture -%}
{% if ccontent and ccontent != '' -%}
<description>{{ccontent}} &#xA;
{% for conf in video.conferences %}
{% for c in site.conferences -%}
{% if conf == c.acronym and c.content != '' -%}
{{c.content| xml_escape| markdownify | strip_html | markdownify | xml_escape | remove: '</p>'}}
{{c.content | strip_html | xml_escape }} &#xA;
{% endif -%}
{% endfor -%}
{% endfor -%}
{% endfor %}
{% if video.licence and video.licence != '' -%}
{{video.licence | xml_escape | markdownify | strip_html | markdownify| xml_escape | remove: '</p>'}}
{{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>
{% else -%}
{% if eventpost and eventpost != '' -%}
{% capture content %}{{eventpost.content | strip | strip_html | xml_escape | remove: '</p>' | strip }}{% endcapture -%}
<description>{{content}}
{% capture ccontent %}{{eventpost.content | strip_html | xml_escape }}{% endcapture -%}
<description>{{ccontent}} &#xA;
{% for conf in video.conferences -%}
{% for c in site.conferences -%}
{% if conf == c.acronym and c.content != '' -%}
{{c.content| xml_escape| markdownify | strip_html | markdownify | xml_escape | remove: '</p>'}}
{{c.content | strip_html | xml_escape}} &#xA;
{% endif -%}
{% endfor -%}
{% endfor -%}
{% if video.licence and video.licence != '' -%}
{{video.licence | xml_escape | markdownify | strip_html | markdownify| xml_escape | remove: '</p>'}}
{{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>
......@@ -340,7 +341,18 @@ Finding the first and last talk to establish the variables "earliest" and "lates
{% endfor -%}
</persons>
<links/>
<attachments/>
{% if video.slides or video.closedcaption -%}
<attachments>
{% if video.slides and video.slides != '' -%}
<attachment href="{{video.slides}}">Slides</attachment>
{% endif -%}
{% if video.closedcaption and video.closedcaption != '' -%}
<attachment href="{{video.closedcaption}}">Closed Captions</attachment>
{% endif -%}
</attachments>
{% else -%}
<attachments/>
{% endif -%}
{% if video.file and video.file != '' -%}
<video_download_url>{{video.file | xml_escape}}</video_download_url>
{% endif -%}
......
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