From 52570d43932f070f7fd534cbab1a41f9da17ff45 Mon Sep 17 00:00:00 2001 From: arhimede Date: Mon, 28 Apr 2025 19:22:09 +0300 Subject: [PATCH] Update title and add PSR-15 on index page Signed-off-by: arhimede --- config/autoload/app.global.php | 2 +- src/App/templates/app/index.html.twig | 7 ++----- src/App/templates/layout/default.html.twig | 5 ++++- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/autoload/app.global.php b/config/autoload/app.global.php index ca5b029..ed95da9 100644 --- a/config/autoload/app.global.php +++ b/config/autoload/app.global.php @@ -3,7 +3,7 @@ declare(strict_types=1); $app = [ - 'name' => 'Dotkernel Light V1', + 'name' => 'Dotkernel Light | PSR-15 compliant application', ]; return [ diff --git a/src/App/templates/app/index.html.twig b/src/App/templates/app/index.html.twig index e40f464..73802e6 100644 --- a/src/App/templates/app/index.html.twig +++ b/src/App/templates/app/index.html.twig @@ -1,12 +1,12 @@ {% extends '@layout/default.html.twig' %} -{% block title %}Home{% endblock %} +{% block title %}A PSR-15 compliant application{% endblock %} {% block content %}

Dotkernel Light is a basic

-

PSR-7 Middleware skeleton

+

PSR-15 Middleware skeleton

Built on top of the Mezzio microframework.
Composed of a set of custom and extended Laminas components.

@@ -85,9 +85,6 @@
    -
  • - dot-controller: controller-like middleware for laminas -
  • dot-log: generic logging component
  • diff --git a/src/App/templates/layout/default.html.twig b/src/App/templates/layout/default.html.twig index 6574cb3..6a49363 100644 --- a/src/App/templates/layout/default.html.twig +++ b/src/App/templates/layout/default.html.twig @@ -5,7 +5,7 @@ - {% block title %}{% endblock %} | Dotkernel Light V1 + {% block title %}{% endblock %} | Dotkernel Light {% block canonical %}{% endblock %} @@ -51,6 +51,9 @@ +