summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-10 00:00:34 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-10 00:00:34 +0100
commitd2189aac01e53f967be19a673cb76fd2e1cb1ed5 (patch)
tree66ad0d8ffb6facbe554d30f4eae6468ee38fd017
parent9e0a840c190e7dd3d58454491d4b5aa6bb4189cc (diff)
Organisation des entêtes HTML par priorité
Place en premier ce qui est le plus important pour le chargement de la page
-rw-r--r--app/layout/layout.phtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 6ac9fb2f8..23938c63c 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -3,11 +3,6 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1.0" />
- <link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
- <link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" />
- <?php if (isset ($this->rss_url)) { ?>
- <link rel="alternate" type="application/rss+xml" title="<?php echo htmlspecialchars($this->rss_title, ENT_COMPAT, 'UTF-8'); ?>" href="<?php echo Url::display ($this->rss_url); ?>" />
- <?php } ?>
<?php echo self::headTitle (); ?>
<?php echo self::headStyle (); ?>
<?php echo self::headScript (); ?>
@@ -22,6 +17,11 @@
?>
<link id="prefetch" rel="next prefetch" href="<?php echo Url::display (array ('c' => Request::controllerName (), 'a' => Request::actionName (), 'params' => $params)); ?>" />
<?php } ?>
+ <link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
+ <link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" />
+<?php if (isset ($this->rss_url)) { ?>
+ <link rel="alternate" type="application/rss+xml" title="<?php echo htmlspecialchars($this->rss_title, ENT_COMPAT, 'UTF-8'); ?>" href="<?php echo Url::display ($this->rss_url); ?>" />
+<?php } ?>
</head>
<body>
<?php $this->partial ('header'); ?>