diff options
author | alyx <alyx@aleteoryx.me> | 2024-05-26 12:39:03 -0400 |
---|---|---|
committer | alyx <alyx@aleteoryx.me> | 2024-05-26 12:39:03 -0400 |
commit | 6092698fc7b3172e62c3d99e8c306b986853c068 (patch) | |
tree | 3b3d935edf154b6e8e75a646dbe44b420fcd1bc4 | |
parent | 4a57f044a68e0a1c2d9b0c58297a5f61d3f40d2f (diff) | |
download | visitors_dot_php-6092698fc7b3172e62c3d99e8c306b986853c068.tar.gz visitors_dot_php-6092698fc7b3172e62c3d99e8c306b986853c068.tar.bz2 visitors_dot_php-6092698fc7b3172e62c3d99e8c306b986853c068.zip |
blurb actually works now lmao
-rw-r--r-- | visitors.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/visitors.php b/visitors.php index 0f012b9..6242852 100644 --- a/visitors.php +++ b/visitors.php @@ -215,7 +215,7 @@ body { padding-left: min(30%, calc(50%) - 5cm); padding-right: min(30%, calc(50%) - 5cm); } -body > h1, footer { +body > h1, body > p, footer { color: white; } body > a, footer > a { @@ -632,7 +632,10 @@ function render_form() { </head> <body> <h1><?= $config['title'] ?></h1> - <?php if ($config['content_order'] == 0): ?> + <?php if (isset($config['blurb'])): ?> + <p><?= $config['blurb'] ?></p> + <?php endif; + if ($config['content_order'] == 0): ?> <a href='#submission'>Jump to form</a> <?php render_visits(); render_form(); |