14 lines
402 B
HTML
Raw Normal View History

2017-03-06 10:17:27 +01:00
{% if settings.settings.light_mode %}
{% set pathstatic = ".." %}
{% else %}
{% set pathstatic = "." %}
{% endif %}
2017-03-06 10:01:53 +01:00
{% if section.image.type == "audio" %}
{% set audio = Audio(section.image) %}
{{ audio.copy() }}
{% endif %}
2017-03-06 10:17:27 +01:00
<h4>{% if section.title %}{{ section.title }}{% else %}{{ audio }}{% endif %}</h4>
2017-03-06 10:01:53 +01:00
<audio controls>
2017-03-06 10:17:27 +01:00
<source src="{{ pathstatic }}/{{ audio }}.mp3" type="audio/mpeg">
2017-03-06 10:01:53 +01:00
</audio>