Exemplo n.º 1
0
<!DOCTYPE html>
<html>
  <head>
  <script type="text/javascript" src="/themes/hm-theme/js/jquery-1.11.1.min.js"></script>
  <script type="text/javascript" src="/themes/hm-theme/js/main.js"></script>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
  <meta name="viewport" content="width=device-width">
  <!-- отключение автоматического распознавание номеров на планшетах и телефонах -->
  <meta name="format-detection" content="telephone=no">
  
  <!-- SEO -->
  <?php 
$seo = Seo::checkUrl($_SERVER['REQUEST_URI']);
?>
  <title><?php 
echo $seo['title'];
?>
</title>
  <meta name="description" content="<?php 
echo $seo['description'];
?>
">
  <meta name="keywords" content="<?php 
echo $seo['keywords'];
?>
">
  <link rel="canonical" href="<?php 
echo Yii::app()->request->getHostInfo() . '/' . Yii::app()->request->getPathInfo();
?>
" />