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">
|
<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>
|
||||||
{% endif %}
|
{% else if item == "audio" %}
|
||||||
{% if item == "audio" %}
|
|
||||||
<audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio>
|
<audio controls src="{{ dest }}" type="audio/mp3" autoplay></audio>
|
||||||
{% endif %}
|
{% else if item == "image" %}
|
||||||
{% if 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 %}
|
||||||
|
<h1>404 - Not f0cked</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</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 />
|
<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