diff --git a/bootstrap.php b/bootstrap.php index c87674b..fb0ce09 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -38,6 +38,7 @@ function exitNormal(): void $templateData = [ 'title' => LG_TITLE, 'custom_css' => LG_CSS_OVERRIDES, + 'custom_head' => LG_CUSTOM_HEAD, 'logo_url' => LG_LOGO_URL, 'logo_data' => LG_LOGO, // diff --git a/config.dist.php b/config.dist.php index 51becde..aaa9fd6 100644 --- a/config.dist.php +++ b/config.dist.php @@ -11,6 +11,8 @@ const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/'; // Define a custom CSS file which can be used to style the LG, set false to disable, else point to the CSS file; const LG_CSS_OVERRIDES = false; +// Define content, this could be JS, CSS or meta tags; +const LG_CUSTOM_HEAD = false; // Enable or disable blocks/parts of the LG, set false to hide a part; const LG_BLOCK_NETWORK = true; diff --git a/index.php b/index.php index d4130d5..42cfac9 100644 --- a/index.php +++ b/index.php @@ -89,6 +89,7 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran <?php echo $templateData['title'] ?> '; } ?> +