-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathhead_common.twig
34 lines (31 loc) · 2.3 KB
/
head_common.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- Meta -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf_token" content="{{ csrf_token() }}" />
<meta name="date_format" content="{{ Config.get('settings.date_format') }}" />
<meta name="time_format" content="{{ Config.get('settings.time_format') }}" />
<meta name="default_country" content="{{ Config.get('settings.default_country') }}" />
<meta name="max_file_size" content="{{ max_file_size }}" />
<meta name="allowed_files" content="{{ allowed_files }}" />
<meta name="environment" content="{{ Config.get('app.env') }}" />
<meta name="shortcuts_enabled" content="{{ Config.get('settings.operator' ~ auth_user().id ~ '.shortcuts_enabled') }}" />
<meta name="robots" content="noindex" />
<!-- Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ get_favicon('resources/assets/operator/images/favicon/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ get_favicon('resources/assets/operator/images/favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ get_favicon('resources/assets/operator/images/favicon/favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('resources/assets/operator/images/favicon/site.webmanifest') }}">
<link rel="mask-icon" href="{{ asset('resources/assets/operator/images/favicon/safari-pinned-tab.svg') }}" color="#06548c">
<link rel="shortcut icon" href="{{ get_favicon('resources/assets/operator/images/favicon/favicon.ico') }}"
media="(prefers-color-scheme: light)">
<link rel="shortcut icon" href="{{ get_favicon('resources/assets/operator/images/favicon/favicon_white.ico', true) }}"
media="(prefers-color-scheme: dark)" />
<meta name="application-name" content="SupportPal"/>
<meta name="msapplication-TileColor" content="#06548c">
<meta name="msapplication-config" content="{{ asset('resources/assets/operator/images/favicon/browserconfig.xml') }}">
<meta name="theme-color" content="#ffffff">
<!-- CSS -->
{{ colourScheme|raw }}
<script src="{{ asset_rev('/resources/assets/general/js/preload.js') }}"></script>
<link href="{{ asset_rev('resources/assets/operator/css/main.min.css') }}" rel="stylesheet" />
<link href="{{ asset_rev('resources/assets/libs/css/common.min.css') }}" rel="stylesheet" />