From e1554c725e22909a5fb239f481e76e30abc306f9 Mon Sep 17 00:00:00 2001 From: horus Date: Mon, 15 Mar 2021 17:43:16 +0100 Subject: Add pizza --- .gitmodules | 3 +++ public/index.php | 4 ++++ views/snippets/layout.html | 3 ++- views/tools.html | 2 +- views/tools/faces | 2 +- views/tools/pizza | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) create mode 160000 views/tools/pizza diff --git a/.gitmodules b/.gitmodules index 6c2b6b6..137c576 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "views/tools/faces"] path = views/tools/faces url = git@git.iamfabulous.de:faces +[submodule "views/tools/pizza"] + path = views/tools/pizza + url = git@git.iamfabulous.de:pizza diff --git a/public/index.php b/public/index.php index fa89920..c5c0c0b 100644 --- a/public/index.php +++ b/public/index.php @@ -24,6 +24,10 @@ case("/tools/faces"): case("/tools/faces/"): echo $twig->render('tools/faces/index.html', [ "faces" => get_faces() ]); break; +case("/tools/pizza"): +case("/tools/pizza/"): + echo $twig->render('tools/pizza/index.html'); + break; default: http_response_code(404); echo $twig->render('404.html'); diff --git a/views/snippets/layout.html b/views/snippets/layout.html index 0bf0b19..5de1eaa 100644 --- a/views/snippets/layout.html +++ b/views/snippets/layout.html @@ -2,9 +2,10 @@
+ {% endblock %} + "> {% block maincss %} diff --git a/views/tools.html b/views/tools.html index dd091a1..9b3ba81 100644 --- a/views/tools.html +++ b/views/tools.html @@ -22,7 +22,7 @@ untrack - Entfernt Tracking Parameter aus der URL