{% extends "themes/"|add:settings.page_theme|add:"/base.html" %}

{% block head_extensions %}
  {% include 'pygal/repeat_head.html' %}
{% endblock head_extensions %}


{% block content %}
  {% with item=item.prv %}
    {% include "pygal/thumb.html" %}
  {% endwith %}
  
  <div id="openModal" class="image">
    {% with bar=item.tagbar slim=True %}{% include 'themes/'|add:settings.page_theme|add:'/menubar.html' %}{% endwith %}
    <div class="image_bg">
        <h1>{{ item.heading }}</h1>
        <audio controls preload{% if item.is_repeatview %} autoplay{% endif %} controlsList="nodownload">
          <source src="{{ item.url_item|safe }}" type="{{ item.mime_type }}">
          Your browser does not support the audio element.
        </audio>
    </div>
  </div>

  {% with item=item.nxt %}
    {% include "pygal/thumb.html" %}
  {% endwith %}

  <div class="clearfix"></div>
{% endblock content %}
