Do not duplicate head tag

This commit is contained in:
Frederic Guillot 2017-01-21 14:44:57 -05:00
parent 52a05f0489
commit 7d6fc3336b
3 changed files with 19 additions and 31 deletions

View File

@ -5,20 +5,7 @@
<?php endif ?> <?php endif ?>
> >
<head> <head>
<meta charset="utf-8"> <?php echo Miniflux\Template\load('common/head') ?>
<meta name="viewport" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/touch-icon-ipad-retina.png">
<title>Miniflux</title>
<link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen"> <link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen">
</head> </head>
<body id="login-page"> <body id="login-page">

View File

@ -0,0 +1,17 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo isset($title) ? Miniflux\Helper\escape($title) : 'Miniflux' ?></title>
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/touch-icon-ipad-retina.png">
<link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen">

View File

@ -5,23 +5,7 @@
<?php endif ?> <?php endif ?>
> >
<head> <head>
<meta charset="utf-8"> <?php echo Miniflux\Template\load('common/head') ?>
<meta name="viewport" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo isset($title) ? Miniflux\Helper\escape($title) : t('Miniflux') ?></title>
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/touch-icon-ipad-retina.png">
<link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen">
<script type="text/javascript" src="assets/js/app.min.js?<?php echo filemtime('assets/js/app.min.js') ?>" defer></script> <script type="text/javascript" src="assets/js/app.min.js?<?php echo filemtime('assets/js/app.min.js') ?>" defer></script>
</head> </head>
<body> <body>