diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2019-03-15 18:45:47 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2019-03-15 18:45:47 +0100 |
commit | c57494ae405ffbdd8ec45f74ef04ea85895f1bf7 (patch) | |
tree | a0b888069205b7d8260c1862d300032a56b6fd30 /pastepy/templates/base.html | |
parent | c5ebdf4428d9d9aab04cf6085a231ed6ea5bf0ab (diff) |
Port application to flask
Diffstat (limited to 'pastepy/templates/base.html')
-rw-r--r-- | pastepy/templates/base.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pastepy/templates/base.html b/pastepy/templates/base.html new file mode 100644 index 0000000..e208b6b --- /dev/null +++ b/pastepy/templates/base.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>{{ config.PASTEBIN_NAME }}{% if title %} – {{ title }}{% endif %}</title> + <link rel="StyleSheet" href="{{ url_for('static', filename='paste.css') }}" type="text/css"> +{% block head %} +{% endblock %} + </head> + <body> + <div id="page"> + <div id="page-header"> + <h1><a href="/">{{ title }}</a></h1> + </div> + <div id="page-content"> +{% block content %} +{% endblock %} + </div> + </div> + </body> +</html> |