Преглед на файлове

Organisation des entêtes HTML par priorité

Place en premier ce qui est le plus important pour le chargement de la
page
Alexandre Alapetite преди 12 години
родител
ревизия
d2189aac01
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      app/layout/layout.phtml

+ 5 - 5
app/layout/layout.phtml

@@ -3,11 +3,6 @@
 	<head>
 	<head>
 		<meta charset="UTF-8" />
 		<meta charset="UTF-8" />
 		<meta name="viewport" content="initial-scale=1.0" />
 		<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::headTitle (); ?>
 		<?php echo self::headStyle (); ?>
 		<?php echo self::headStyle (); ?>
 		<?php echo self::headScript (); ?>
 		<?php echo self::headScript (); ?>
@@ -21,6 +16,11 @@
 		$params['next'] = $next;
 		$params['next'] = $next;
 ?>
 ?>
 		<link id="prefetch" rel="next prefetch" href="<?php echo Url::display (array ('c' => Request::controllerName (), 'a' => Request::actionName (), 'params' => $params)); ?>" />
 		<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 } ?>
 <?php } ?>
 	</head>
 	</head>
 	<body>
 	<body>