From 5e70b0cadbc5285a57f26a8c936c72cd4821f20f Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 5 Sep 2018 18:19:34 +0200 Subject: [PATCH] Implemented imprint dummy --- application/src/Controller/DefaultController.php | 2 +- application/templates/standard/imprint.html.twig | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 application/templates/standard/imprint.html.twig diff --git a/application/src/Controller/DefaultController.php b/application/src/Controller/DefaultController.php index d94281f..6c6bf52 100644 --- a/application/src/Controller/DefaultController.php +++ b/application/src/Controller/DefaultController.php @@ -19,7 +19,7 @@ class DefaultController extends AbstractController implements DefaultControllerI */ public function imprint(): Response { - return new Response("Hello World!"); + return $this->render("standard/imprint.html.twig",['menu_items'=>[]]); } /** diff --git a/application/templates/standard/imprint.html.twig b/application/templates/standard/imprint.html.twig new file mode 100644 index 0000000..be73a95 --- /dev/null +++ b/application/templates/standard/imprint.html.twig @@ -0,0 +1,12 @@ +{% extends "frames/default.html.twig" %} +{% block title %} +Homepage +{% endblock %} +{% block content %} +

+{% trans %} +Imprint +{% endtrans %} +

+Developed by kevinfrantz +{% endblock %}