`<head>` optimizations
lowercase charset utf-8 move `<title>` after `<meta charset="utf-8"/>` charset should be in the first 1024 bytes and the title after the charset definition unify self closing tags
This commit is contained in:
parent
4f504e98f1
commit
887add83f6
|
@ -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') }}</title>
|
||||
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<link rel="icon" href="{{ asset('assets/angel.svg') }}">
|
||||
<link rel="icon" href="{{ asset('assets/angel.svg') }}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/theme' ~ themeId ~ '.css') }}"/>
|
||||
<script type="text/javascript" src="{{ asset('assets/vendor.js') }}"></script>
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Maintenance - %APP_NAME%</title>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="%ASSETS_PATH%/assets/theme0.css"/>
|
||||
<script type="text/javascript" src="%ASSETS_PATH%/assets/vendor.js"></script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue