diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-01-17 02:11:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-01-17 02:11:31 +0900 |
| commit | deacd0dfc195bca41af631114804d29937337cd8 (patch) | |
| tree | f1f83580e5bc892c0794ac41632bc0cce3498f65 /services/app/templates/_page.html.twig | |
| parent | 38ddeb28ec846ee966d0fe6873585d697a9ef373 (diff) | |
| download | phperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.tar.gz phperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.tar.zst phperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.zip | |
.
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> |
