Set the app title with an environment var

This commit is contained in:
James Brooks
2014-11-20 19:35:14 +00:00
parent 12975ca98a
commit 67cd73d50b
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
"keywords": ["cachet", "laravel", "status", "page"],
"addons": ["cleardb"],
"env": {
"ENV": "heroku"
"ENV": "heroku",
"APP_NAME": "My Status Page"
},
"scripts": {
"postdeploy": "php artisan migrate"

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ Setting::get('site_name') }} | Cachet</title>
<title>{{ getenv('APP_NAME') }} | Cachet</title>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="http://james-brooks.uk">