diff options
Diffstat (limited to 'apioforum/templates/base.html')
-rw-r--r-- | apioforum/templates/base.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html new file mode 100644 index 0000000..01339c1 --- /dev/null +++ b/apioforum/templates/base.html @@ -0,0 +1,16 @@ +{# BASED? BASED ON WHAT? #} +<!DOCTYPE html> +<html> + <head> + <title>{%block title %}{% endblock %}</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + </head> + <body> + {% block header %}{% endblock %} + {% for msg in get_flashed_messages() %} + <div class="flash">{{ msg }}</div> + {% endfor %} + {%block content %}{% endblock %} + </body> +</html> + |