2022-03-19 00:00:51 +01:00
|
|
|
{% extends "frame.twig" %}
|
2021-04-24 05:54:56 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ title }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block mainContent %}
|
|
|
|
<section>
|
|
|
|
<div class="page-title">
|
|
|
|
<span>{{title}}</span>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<article>
|
|
|
|
<div class="page">
|
|
|
|
<p>{{content | raw}}</p>
|
2021-04-26 22:19:47 +02:00
|
|
|
<div>
|
2022-03-20 23:14:23 +01:00
|
|
|
<div class="page_files">
|
|
|
|
<div class="page_doc">
|
|
|
|
<strong>Files</strong><br/>
|
|
|
|
{% for doc in files %}
|
|
|
|
{% if doc.type != "mp3" %}
|
|
|
|
{% set path = doc.file|split('/') %}
|
|
|
|
<a href="{{doc.file}}">{{path[6]}}</a>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="page_sounds">
|
|
|
|
<strong>Sounds</strong><br/>
|
|
|
|
{% for doc in files %}
|
|
|
|
{% if doc.type == "mp3" %}
|
|
|
|
<audio controls>
|
|
|
|
<source src="{{doc.file}}" type="audio/mpeg">
|
|
|
|
Your browser does not support the audio element.
|
|
|
|
</audio>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<br/>
|
2021-04-26 22:19:47 +02:00
|
|
|
{{meta['who']}} dropped this {{ meta['when'] }}<br />
|
|
|
|
<strong>tags: </strong>
|
|
|
|
{% for tag in meta['tags'] %}
|
2021-11-03 23:19:52 +01:00
|
|
|
{% if dynamicRender is defined %}
|
2022-03-19 00:00:51 +01:00
|
|
|
{% if dynamicRender == 'true' %}
|
2021-11-03 23:19:52 +01:00
|
|
|
<a href="{{ "/tags/"~tag.slug }}">{{ tag.label }}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/tags/"~tag.slug~".html" }}">{{ tag.label }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ "/tags/"~tag.slug~".html" }}">{{ tag.label }}</a>
|
|
|
|
{% endif %}
|
2021-04-26 22:19:47 +02:00
|
|
|
{% endfor %}
|
2022-03-20 23:14:23 +01:00
|
|
|
|
2021-04-26 22:19:47 +02:00
|
|
|
</div>
|
2021-04-24 05:54:56 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endblock %}
|