diff options
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/lib/partials.php b/lib/partials.php index 2e2df78..d7b7127 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -30,7 +30,14 @@ function html_big_footer() <img src="/static/img/brand/project_icon.webp" alt="" height="82"> <h1>Project<br>Tinybot</h1> </section> - <p>Maintained by someone</p> + <p> + This instance is maintained by + <?php if (!empty(CONTACT_NAME) && !empty(CONTACT_URL)): ?> + <a href="<?= CONTACT_URL ?>"><?= CONTACT_NAME ?></a> + <?php else: ?> + <i>Anonymous</i> + <?php endif; ?> + </p> </div> </footer> <?php ; @@ -41,8 +48,16 @@ function html_footer() echo '' ?> <footer> <div class="w-50 row gap-8"> - <div class="row grow"> - <p>Powered by Project Tinybot</p> + <div class="row grow gap-8"> + <p>Powered by Project Tinybot.</p> + <p> + This instance is maintained by + <?php if (!empty(CONTACT_NAME) && !empty(CONTACT_URL)): ?> + <a href="<?= CONTACT_URL ?>"><?= CONTACT_NAME ?></a>. + <?php else: ?> + <i>Anonymous</i>. + <?php endif; ?> + </p> </div> </div> </footer> |
