An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Only set name if it is actually set in the settings
Thijmen Stavenuiterab3b72bd1f43
diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.phpindex 0120609c59..b357011b32 100644--- a/resources/views/layouts/base.blade.php+++ b/resources/views/layouts/base.blade.php@@ -18,12 +18,16 @@@use('App\Models\InstanceSettings')@php- $instanceSettings = InstanceSettings::first();- $name = null;+ $instanceSettings = InstanceSettings::first();+ $name = null;- if($instanceSettings) {+ if($instanceSettings) {+ $displayName = $instanceSettings->getTitleDisplayName();++ if(strlen($displayName) > 0) {$name = $instanceSettings->getTitleDisplayName() . ' ';}+ }@endphp<title>{{ $name }}{{ $title ?? 'Coolify' }}</title>@env('local')