18 lines
677 B
HTML
18 lines
677 B
HTML
{% extends "base.html" %}
|
|
{% block title %}View Paste{% endblock title %}
|
|
{% block body %}
|
|
{% if post %}
|
|
<pre class="grow font-mono">{{ post.content }}</pre>
|
|
<div class="flex flex-row justify-center select-none">
|
|
<a class="text-blue-500 hover:underline" href="/">Create a new paste</a>
|
|
</div>
|
|
{% else %}
|
|
<div class="grow flex flex-col justify-center items-center gap-2">
|
|
<h1 class="text-4xl font-bold">🫠 Not Found</h1>
|
|
<p class="opacity-75">Sorry, but the paste you were trying to view does not exist.</p>
|
|
<a class="text-blue-500 hover:underline" href="/">Create a new paste</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock body %}
|
|
|