elseif ftw

This commit is contained in:
Flummi 2016-08-17 21:13:55 +02:00
parent ce7249da35
commit c51e8f98f3

View File

@ -11,9 +11,9 @@
<div class="medium"> <div class="medium">
{% if item == "video" %} {% if item == "video" %}
<video src="{{ dest }}" style="max-width: 1024px" autoplay controls loop></video> <video src="{{ dest }}" style="max-width: 1024px" autoplay controls loop></video>
{% else if item == "audio" %} {% elseif item == "audio" %}
<audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio> <audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% else if item == "image" %} {% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a> <a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %} {% else %}
<h1>404 - Not f0cked</h1> <h1>404 - Not f0cked</h1>