aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/views/components/layout.blade.php4
-rw-r--r--resources/views/components/navbar.blade.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php
index 2f79318..1c0e14d 100644
--- a/resources/views/components/layout.blade.php
+++ b/resources/views/components/layout.blade.php
@@ -17,8 +17,8 @@
{!! (intval(date('n')) == 12) ? '<script src="/js/christmas/snow.js"></script>' : '' !!}
<!-- Page-specific -->
- <title>{{ $title ?? 'Unknown' }} - diskfloppy.me</title>
- <meta property="og:title" content="diskfloppy.me | {{ $title }}">
+ <title>{{ $title ?? 'Unknown' }} - {{ str_replace("www.", "", Request::getHost()) }}</title>
+ <meta property="og:title" content="{{ str_replace("www.", "", Request::getHost()) }} | {{ $title }}">
<meta property="og:image" content="/favicon-128x128.png">
</head>
<body onload="setSchemeSelector()">
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>