forked from miraty/web
46 lines
2.2 KiB
PHP
46 lines
2.2 KiB
PHP
<?php function head($nomOnglet, $description) { ?>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title><?php echo $nomOnglet; ?></title>
|
|
<link type="text/css" rel="stylesheet" href="assets/css/main.css"/>
|
|
<link type="text/css" rel="stylesheet" href="fontello/css/fontello.css"/>
|
|
<link rel="icon" type="image/ico" href="media/favicon.ico"/>
|
|
<meta name="author" lang="fr" content="Miraty">
|
|
<meta name="publisher" content="Ant">
|
|
<meta name="distribution" content="global">
|
|
<meta name="robots" content="index, follow">
|
|
<meta name="keywords" lang="fr" content="anternet.pw, Ant">
|
|
<meta name="description" content="<?php echo $description; ?>"/>
|
|
<meta property="og:locale" content="fr" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="<?php echo $nomOnglet; ?>" />
|
|
<meta property="og:site_name" content="Ant" />
|
|
<meta property="og:image" content="https://anternet.pw/web/media/logo/antorigine.png" />
|
|
<meta property="og:image:secure_url" content="https://anternet.pw/web/media/logo/antorigine.png" />
|
|
<meta property="og:image:type" content="image/png" />
|
|
<meta property="og:image:width" content="1680" />
|
|
<meta property="og:image:height" content="510" />
|
|
<meta property="og:image:alt" content="Logo Ant" />
|
|
<meta property="og:description" content="<?php echo $description; ?>" />
|
|
<!-- Début du code Javascript Matomo -->
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//anternet.pw/piwik/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', '1']);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<!-- Fin du code Javascript Matomo -->
|
|
</head>
|
|
<!-- Début du l'image Matomo (si le JS est impossible)-->
|
|
<noscript>
|
|
<img src="https://anternet.pw/piwik/piwik.php?idsite=1&rec=1&action_name=<?php echo $nomOnglet; ?>" style="border:0" alt="" />
|
|
</noscript>
|
|
<!-- Fin de l'image Matomo -->
|
|
<?php } ?>
|