|
1 | 1 | <?php |
2 | 2 | /** @var Simples\Template\View $this */ |
| 3 | + |
| 4 | +$title = config('app.name') . ' / ' . $this->get('title'); |
| 5 | + |
3 | 6 | ?> |
4 | 7 | <head> |
5 | | - <meta charset="utf-8"> |
6 | | - <meta name="format-detection" content="telephone=no"> |
7 | | - <meta name="msapplication-tap-highlight" content="no"> |
8 | | - <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> |
9 | | - <meta http-equiv="cache-control" content="max-age=0"/> |
10 | | - <meta http-equiv="cache-control" content="no-cache"/> |
11 | | - <meta http-equiv="expires" content="0"/> |
12 | | - <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/> |
13 | | - <meta http-equiv="pragma" content="no-cache"/> |
| 8 | + <meta charset="utf-8"> |
| 9 | + <meta name="format-detection" content="telephone=no"> |
| 10 | + <meta name="msapplication-tap-highlight" content="no"> |
| 11 | + <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> |
| 12 | + <meta http-equiv="cache-control" content="max-age=0"/> |
| 13 | + <meta http-equiv="cache-control" content="no-cache"/> |
| 14 | + <meta http-equiv="expires" content="0"/> |
| 15 | + <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/> |
| 16 | + <meta http-equiv="pragma" content="no-cache"/> |
| 17 | + |
| 18 | + <title><?php out($title) ?></title> |
14 | 19 |
|
15 | | - <title><?php out(config('app.name')); ?></title> |
| 20 | + <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css"> |
16 | 21 |
|
17 | | - <link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon/apple-touch-icon.png"> |
18 | | - <link rel="icon" type="image/png" href="/assets/images/favicon/favicon-32x32.png" sizes="32x32"> |
19 | | - <link rel="icon" type="image/png" href="/assets/images/favicon/favicon-16x16.png" sizes="16x16"> |
20 | | - <link rel="manifest" href="/assets/images/favicon/manifest.json"> |
21 | | - <link rel="mask-icon" href="/assets/images/favicon/safari-pinned-tab.svg" color="#318dce"> |
| 22 | + <link rel="apple-touch-icon" sizes="180x180" href="<?php $this->image('favicon/apple-touch-icon.png') ?>"> |
| 23 | + <link rel="icon" type="image/png" href="<?php $this->image('favicon/favicon-32x32.png" sizes="32x32') ?>"> |
| 24 | + <link rel="icon" type="image/png" href="<?php $this->image('favicon/favicon-16x16.png" sizes="16x16') ?>"> |
| 25 | + <link rel="manifest" href="<?php $this->image('favicon/manifest.json') ?>"> |
| 26 | + <link rel="mask-icon" href="/<?php $this->image('favicon/safari-pinned-tab.svg') ?>" color="#318dce"> |
22 | 27 |
|
23 | | - <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css"> |
24 | | - <link href="<?php $this->style('style.css') ?>" rel="stylesheet" type="text/css"> |
| 28 | + <link href="<?php $this->style('style.css') ?>" rel="stylesheet" type="text/css"> |
25 | 29 |
|
26 | | - <meta name="theme-color" content="#8bbcff"> |
| 30 | + <meta name="theme-color" content="#8bbcff"> |
27 | 31 | </head> |
0 commit comments