LinkStack/resources/views/layouts/analytics.blade.php
Julian Prieber ca86582157 Added support for custom meta tags
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.
2022-06-08 15:43:51 +02:00

7 lines
186 B
PHP

<!-- Analytics -->
<?php
$analyticsHTML = Config::get('meta.analytics');
$analyticsHTML = preg_replace("~<!--(.*?)-->~s", "", $analyticsHTML);
echo $analyticsHTML;
?>
<!-- /Analytics -->