diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/partials.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php index f08afb4..f64b32f 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -14,6 +14,8 @@ function html_navigation_bar() <a href="/">home</a> <?php if (is_dir(WIKI_PAGE_DIRECTORY)): ?> <a href="/wiki.php">wiki</a> + <?php elseif (str_starts_with(WIKI_PAGE_DIRECTORY, "http")): ?> + <a href="<?= WIKI_PAGE_DIRECTORY ?>">wiki<img src="/static/img/icons/external_link.png"></a> <?php endif; ?> <?php if (!empty(LUA_SCRIPT_DIRECTORY)): ?> <a href="/scripts.php">scripts</a> |
