]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/includes/audio.html
add rel="noopener" to links opening in new tabs
[panikweb.git] / panikweb_templates / templates / includes / audio.html
index e23cce2d2224cdb79243984b0611457b12b4a7e2..673452d4aed07d25615a5d586d6f2efc6e6de295 100644 (file)
                        ><span class="sr-only">{% trans "Download file" %}</span></button>
                <div class="download-links hidden-download-links">
                        {% if sound|is_format_available:'ogg' %}
-                       <a target="_blank" class="button inBlock" href="{{ sound|format_url:'ogg' }}">
+                       <a target="_blank" rel="noopener" class="button inBlock" href="{{ sound|format_url:'ogg' }}">
                                <span class="icon-file">&nbsp;ogg</span>
                        </a>
                        {% endif %}
                        {% if sound|is_format_available:'mp3' %}
-                       <a target="_blank" class="button inBlock" href="{{ sound|format_url:'mp3' }}">
+                       <a target="_blank" rel="noopener" class="button inBlock" href="{{ sound|format_url:'mp3' }}">
                                <span class="icon-file">&nbsp;mp3</span>
                        </a>
                        {% endif %}