the
This commit is contained in:
parent
054c2e9a00
commit
0af2b7303a
3 changed files with 6 additions and 5 deletions
|
@ -14,7 +14,7 @@ if(empty($is_index)):
|
||||||
<?php if(isset($scripts) && is_array($scripts)) foreach($scripts as $script): ?>
|
<?php if(isset($scripts) && is_array($scripts)) foreach($scripts as $script): ?>
|
||||||
<script src="<?=$script;?>" charset="utf-8" type="text/javascript"></script>
|
<script src="<?=$script;?>" charset="utf-8" type="text/javascript"></script>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
<?php if($_SERVER['HTTP_HOST'] === 'flash.moe'): ?>
|
<?php if($_SERVER['HTTP_HOST'] === 'flash.moe' && empty($skip_analytics)): ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _paq = window._paq || [];
|
var _paq = window._paq || [];
|
||||||
_paq.push(['disableCookies']);
|
_paq.push(['disableCookies']);
|
||||||
|
|
|
@ -58,8 +58,8 @@ if($reqPath === '/contact') {
|
||||||
'id' => 'email',
|
'id' => 'email',
|
||||||
'name' => 'E-mail',
|
'name' => 'E-mail',
|
||||||
'icon' => 'fmi fmi-email',
|
'icon' => 'fmi fmi-email',
|
||||||
'display' => 'me@flash.moe',
|
'display' => 'contact@flash.moe',
|
||||||
'link' => 'mailto:me+contact@flash.moe',
|
'link' => 'mailto:contact@flash.moe',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
@ -92,6 +92,7 @@ if($reqPath === '/home') {
|
||||||
<?php
|
<?php
|
||||||
fm_component('footer', [
|
fm_component('footer', [
|
||||||
'hide' => true,
|
'hide' => true,
|
||||||
|
'skip_analytics' => true,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return FM_HIT;
|
return FM_HIT;
|
||||||
|
@ -146,8 +147,8 @@ if($reqPath === '/') {
|
||||||
'id' => 'email',
|
'id' => 'email',
|
||||||
'name' => 'E-mail',
|
'name' => 'E-mail',
|
||||||
'icon' => 'fmi fmi-email',
|
'icon' => 'fmi fmi-email',
|
||||||
'display' => 'me@flash.moe',
|
'display' => 'contact@flash.moe',
|
||||||
'link' => 'mailto:me+contact@flash.moe',
|
'link' => 'mailto:contact@flash.moe',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'id' => 'flashii',
|
'id' => 'flashii',
|
||||||
|
|
Loading…
Reference in a new issue