diff options
| author | moderndevslulw <moderndevslulw@alright.party> | 2025-07-06 02:06:25 +0500 |
|---|---|---|
| committer | moderndevslulw <moderndevslulw@alright.party> | 2025-07-06 02:06:25 +0500 |
| commit | 65ef7bc6c9a18e7421468d0853d0c67369c01f97 (patch) | |
| tree | aeca097ec1d647daed354660957931062e582f0d /lib/partials.php | |
| parent | bb920b117c33c8f78331aa1aea0470efece356a5 (diff) | |
feat: channel pages
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php index 0fec678..f957cb5 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -1,4 +1,6 @@ <?php +include_once $_SERVER['DOCUMENT_ROOT'] . '/../config.php'; + function html_navigation_bar() { echo '' ?> @@ -11,6 +13,9 @@ function html_navigation_bar() <section class="row gap-16"> <a href="/">home</a> <a href="/wiki.php">wiki</a> + <?php if (SHOW_CHANNEL_LIST): ?> + <a href="/channels/">channels</a> + <?php endif; ?> </section> </header> <?php ; |
