diff options
Diffstat (limited to 'lib/pinq/templates')
-rw-r--r-- | lib/pinq/templates/analytics.tpl | 13 | ||||
-rw-r--r-- | lib/pinq/templates/layout.tpl | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/lib/pinq/templates/analytics.tpl b/lib/pinq/templates/analytics.tpl new file mode 100644 index 000000000..81ee4ce38 --- /dev/null +++ b/lib/pinq/templates/analytics.tpl @@ -0,0 +1,13 @@ +<link rel="icon" type="image/png" href="/g/favicon.png" /> +<script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18603191-1']); + _gaq.push(['_setDomainName', '.mageia.org']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); +</script>
\ No newline at end of file diff --git a/lib/pinq/templates/layout.tpl b/lib/pinq/templates/layout.tpl new file mode 100644 index 000000000..9e0c2abc5 --- /dev/null +++ b/lib/pinq/templates/layout.tpl @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="{block name=lang}en{/block}" dir="{block name=ltr}ltr{/block}"> +<head> + <meta charset="utf-8"> + <title>{block name=page_title}{/block}</title> + <meta name="description" content="{block name=page_desc}{/block}"> + <meta name="keywords" content="{block name=page_kw}{/block}"> + <meta name="author" content=""> + <link rel="canonical" href="{block name=canonical_link}/{/block}"> + <link rel="home" href="http://www.mageia.org/"> + <link rel="alternate" type="application/rss+xml" title="Les nouveautés de Gasparine - RSS" href="/rss/"> + {block name=more_meta}{/block} +</head> +<body class="{$page_class}"> + + {include file="nav.tpl"} + + {block name=body}{/block} + + {include file='analytics.tpl'} +</body> +</html>
\ No newline at end of file |