mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-12 10:16:19 +01:00
ca86582157
Added support for custom meta tags via a new config file. Custom meta tags will only be active if "CUSTOM_META_TAGS" is set to "true" in the config. Replaced "<html lang="en">" with "@include('layouts.lang')" meaning HTML lang can be changed in the new config, defaults to en if not active or not defined.
7 lines
186 B
PHP
7 lines
186 B
PHP
<!-- Analytics -->
|
|
<?php
|
|
$analyticsHTML = Config::get('meta.analytics');
|
|
$analyticsHTML = preg_replace("~<!--(.*?)-->~s", "", $analyticsHTML);
|
|
echo $analyticsHTML;
|
|
?>
|
|
<!-- /Analytics -->
|