aboutsummaryrefslogtreecommitdiff
path: root/templates/layout.html
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-12 12:07:05 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-12 12:09:13 -0500
commitbd134ed333278f33c9b5596ef5df2501ee648bb1 (patch)
tree6c4dbcec2cd71f15c43c20b3ca505941041af928 /templates/layout.html
parentuse app.config for salt (diff)
downloadstackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.tar.gz
stackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.tar.bz2
stackbin-bd134ed333278f33c9b5596ef5df2501ee648bb1.zip
add admin page, delete function, and APPNAME var
The admin can view the links to private pastes, and can delete pastes from the web console. For now, the admin page is not protected, so this is not production-ready.
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layout.html b/templates/layout.html
index bfe8b05..fc2d8e5 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,5 +1,5 @@
<!doctype html>
-<title>{% block title %}{% endblock %} | Flask Pastebin</title>
+<title>{% block title %}{% endblock %}{% if appname %} | {{ appname }}{% endif %}</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
bgstack15