This commit is contained in:
flash 2020-10-25 22:11:05 +00:00
parent 054c2e9a00
commit 0af2b7303a
3 changed files with 6 additions and 5 deletions

View file

@ -14,7 +14,7 @@ if(empty($is_index)):
<?php if(isset($scripts) && is_array($scripts)) foreach($scripts as $script): ?>
<script src="<?=$script;?>" charset="utf-8" type="text/javascript"></script>
<?php endforeach;?>
<?php if($_SERVER['HTTP_HOST'] === 'flash.moe'): ?>
<?php if($_SERVER['HTTP_HOST'] === 'flash.moe' && empty($skip_analytics)): ?>
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push(['disableCookies']);

View file

@ -58,8 +58,8 @@ if($reqPath === '/contact') {
'id' => 'email',
'name' => 'E-mail',
'icon' => 'fmi fmi-email',
'display' => 'me@flash.moe',
'link' => 'mailto:me+contact@flash.moe',
'display' => 'contact@flash.moe',
'link' => 'mailto:contact@flash.moe',
],
],
],

View file

@ -92,6 +92,7 @@ if($reqPath === '/home') {
<?php
fm_component('footer', [
'hide' => true,
'skip_analytics' => true,
]);
return FM_HIT;
@ -146,8 +147,8 @@ if($reqPath === '/') {
'id' => 'email',
'name' => 'E-mail',
'icon' => 'fmi fmi-email',
'display' => 'me@flash.moe',
'link' => 'mailto:me+contact@flash.moe',
'display' => 'contact@flash.moe',
'link' => 'mailto:contact@flash.moe',
],
[
'id' => 'flashii',