From 85df4b3dc87003ae738f2676a99b88a83f3ac05a Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 13 Feb 2022 21:47:21 -0500 Subject: add expiry, and wsgi usage to support that The flask dev server seems incapable of using the @timer decorator, so we need the whole wsgi implementation, for which I've added a script. Arbitrary expiration options are available in the config file. --- templates/new_paste.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'templates/new_paste.html') diff --git a/templates/new_paste.html b/templates/new_paste.html index 977ef22..b5a78aa 100644 --- a/templates/new_paste.html +++ b/templates/new_paste.html @@ -2,11 +2,14 @@ {% block title %}New Paste{% endblock %} {% block body %}
-

+

{%- if parent %} - Reply to {{ parent.title }} {%- endif %} - Private + + {% if exp_opts %}{% endif %}

-- cgit