aboutsummaryrefslogtreecommitdiff
path: root/resources/views/components/layout.blade.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-06-19 15:33:11 +0100
committerFrankie B <git@diskfloppy.me>2024-06-19 15:33:11 +0100
commit8635a5ba263eed65c20f9e4230765023ee098401 (patch)
tree48d20d28d317c7ab6453e940eca7584851f9e40b /resources/views/components/layout.blade.php
parent56db90d3a3d468ffe8b361715b66b1d8ada93fce (diff)
Display whatever domain the site is being accessed from
Diffstat (limited to 'resources/views/components/layout.blade.php')
-rw-r--r--resources/views/components/layout.blade.php4
1 files changed, 2 insertions, 2 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()">