From 887add83f6b427b7bfa043b8088ca2bf90f3d450 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Fri, 18 Nov 2022 16:15:09 +0100 Subject: [PATCH] `` optimizations lowercase charset utf-8 move `` after `<meta charset="utf-8"/>` charset should be in the first 1024 bytes and the title after the charset definition unify self closing tags --- resources/views/layouts/app.twig | 10 +++++----- resources/views/layouts/maintenance.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/views/layouts/app.twig b/resources/views/layouts/app.twig index d1089f3c..5b78c841 100644 --- a/resources/views/layouts/app.twig +++ b/resources/views/layouts/app.twig @@ -2,13 +2,13 @@ <html lang="{{ session_get('locale')|split('_')[0]|escape('html_attr') }}"> <head> {% block head %} + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1"/> + <meta name="csrf-token" content="{{ csrf_token() }}"/> + <title>{% block title %}{{ title }}{% endblock %} - {{ config('app_name') }} - - - - - + diff --git a/resources/views/layouts/maintenance.html b/resources/views/layouts/maintenance.html index 0fc6a213..100bdba9 100644 --- a/resources/views/layouts/maintenance.html +++ b/resources/views/layouts/maintenance.html @@ -1,9 +1,9 @@ + + Maintenance - %APP_NAME% - -