summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-12-04 13:51:44 +0100
committerDaniel Weipert <code@drogueronin.de>2023-12-04 14:02:50 +0100
commit72b5f69559975356211daf8053d37ad658ab9553 (patch)
tree138bea6dbf37dfdb711709deb284d06fee1b54ee /index.php
parent2eb16671d6b200281cda3551e8f9d18a3b235766 (diff)
add CSS env variable
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 2f2f677..1c7f55c 100644
--- a/index.php
+++ b/index.php
@@ -119,6 +119,9 @@ $content = ob_get_clean();
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $title; ?></title>
+ <?php if (! empty($_ENV['CSS'])): ?>
+ <style><?php echo $_ENV['CSS']; ?></style>
+ <?php endif; ?>
</head>
<body>
<?php echo $content; ?>