Advertisement
n0aX

core/head.tpl

Nov 9th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.17 KB | None | 0 0
  1. {* $Id: 20121002 *}
  2. <!doctype html>
  3. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  4. <!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  5. <!--[if IE 8]>    <html class="no-js lt-ie9"> <![endif]-->
  6. <!--[if gt IE 8]><!-->
  7. <html class="no-js">
  8.     <!--<![endif]-->
  9.     <head>
  10.         <meta charset="utf-8">
  11.         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12.         <meta name="viewport" content="width=device-width">
  13.         <title>{$pageInfo.page_title} | {$config.sitename}</title>
  14.         <meta name="description" content="{$pageInfo.page_desc}">
  15.         <meta name="keywords" content="{$pageInfo.page_keywords}">
  16.         <meta name="robots" content="index, follow">
  17.         {if $config.google_verification neq ""}
  18.         <meta name="google-site-verification" content="{$config.google_verification}">
  19.         {/if}
  20.         {if $config.yandex_verification neq ""}
  21.         <meta name="yandex-verification" content="{$config.yandex_verification}">
  22.         {/if}
  23.         <link rel="stylesheet" href="{$config.cdn_host}/css/css.{$config.cdn_version}.css" type="text/css">
  24.         <link rel="stylesheet" href="{$config.cdn_host}/css/{$config.template_name}/css.{$config.cdn_version}.css" type="text/css">
  25.        
  26.         {include file="inc/begin.tpl"}
  27.  
  28.         <script src="{$config.cdn_host}{$basePath}js/vendor/modernizr-2.6.1.min.js"></script>
  29.  
  30.         {if $config.google_ua neq ""}
  31.         <script type="text/javascript">
  32.             var _gaq = _gaq || [];
  33.             _gaq.push(['_setAccount', '{$config.google_ua}']);
  34.             _gaq.push(['_trackPageview']);
  35.  
  36.             (function() {
  37.                 var ga = document.createElement('script');
  38.                 ga.type = 'text/javascript';
  39.                 ga.async = true;
  40.                 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  41.                 var s = document.getElementsByTagName('script')[0];
  42.                 s.parentNode.insertBefore(ga, s);
  43.             })();
  44.         </script>
  45.         {/if}
  46.     </head>
  47.     <body class="page_{$pageInfo.page_name} tpl_{$pageInfo.page_file}">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement