diff options
Diffstat (limited to 'services/app/templates/_page.html.twig')
| -rw-r--r-- | services/app/templates/_page.html.twig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/services/app/templates/_page.html.twig b/services/app/templates/_page.html.twig new file mode 100644 index 0000000..d2072ea --- /dev/null +++ b/services/app/templates/_page.html.twig @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> + <head> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{{ page_title }} | {{ site_name }}</title> + <link rel="stylesheet" href="{{ base_path() }}/assets/index.css"> + <script type="module" src="{{ base_path() }}/assets/index.js"></script> + </head> + <body> + <header class="container"> + <nav class="navbar"> + <a href="{{ url_for('quiz_list') }}" class="navbar-brand">{{ site_name }}</a> + </nav> + </header> + <main class="container"> + <h1>{{ page_title }}</h1> + {% block content %}{% endblock %} + </main> + <footer class="container"> + {{ site_name }} + </footer> + </body> +</html> |
