diff options
author | Frankie B <git@diskfloppy.me> | 2024-06-19 15:33:11 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-06-19 15:33:11 +0100 |
commit | 8635a5ba263eed65c20f9e4230765023ee098401 (patch) | |
tree | 48d20d28d317c7ab6453e940eca7584851f9e40b /resources/views/components/navbar.blade.php | |
parent | 56db90d3a3d468ffe8b361715b66b1d8ada93fce (diff) |
Display whatever domain the site is being accessed from
Diffstat (limited to 'resources/views/components/navbar.blade.php')
-rw-r--r-- | resources/views/components/navbar.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index 80cd2b0..475ebca 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -1,5 +1,5 @@ <nav> - <h1>diskfloppy.me | <strong>{{ $title }}</strong></h1> + <h1>{{ str_replace("www.", "", Request::getHost()) }} | <strong>{{ $title }}</strong></h1> <div class="nav-wrapper"> <div> <a href="/" title="Home"><img class="pixel" src="/images/icons/nav/home2.png" alt="Home" width="32" height="32"></a> |