adds 404 if f0ck not found. hopefully works this way
This commit is contained in:
parent
359d0175f2
commit
9cb37a014e
@ -11,12 +11,12 @@
|
||||
<div class="medium">
|
||||
{% if item == "video" %}
|
||||
<video src="{{ dest }}" style="max-width: 1024px" autoplay controls loop></video>
|
||||
{% endif %}
|
||||
{% if item == "audio" %}
|
||||
{% else if item == "audio" %}
|
||||
<audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio>
|
||||
{% endif %}
|
||||
{% if item == "image" %}
|
||||
{% else if item == "image" %}
|
||||
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
|
||||
{% else %}
|
||||
<h1>404 - Not f0cked</h1>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="controls">{% if next != null %}<a id="next" href="/{{ next }}"><<-</a> | {% endif %} <a id="random" href="/random" title="Random">random</a> {% if prev != null %} | <a id="prev" href="/{{ prev }}">->></a>{% endif %}</div><br />
|
||||
|
Loading…
Reference in New Issue
Block a user