aboutsummaryrefslogtreecommitdiffstats
path: root/visitors.php
diff options
context:
space:
mode:
Diffstat (limited to 'visitors.php')
-rw-r--r--visitors.php7
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();