Use the right variable name for page titles
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/img/apple-touch-icon-152x152.png">
|
||||
|
||||
<title>@yield('pageTitle', isset($page_title) ? $page_title.' | Cachet' : 'Cachet')</title>
|
||||
<title>@yield('pageTitle', isset($app_name) ? $app_name.' | Cachet' : 'Cachet')</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ elixir('dist/css/all.css') }}">
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<meta name="env" content="{{ app('env') }}">
|
||||
<meta name="token" content="{{ csrf_token() }}">
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" href="/atom" title="{{ $page_title }} - Atom Feed">
|
||||
<link rel="alternate" type="application/rss+xml" href="/rss" title="{{ $page_title }} - RSS Feed">
|
||||
<link rel="alternate" type="application/atom+xml" href="/atom" title="{{ isset($app_name) ? $app_name.' | Cachet' : 'Cachet' }} - Atom Feed">
|
||||
<link rel="alternate" type="application/rss+xml" href="/rss" title="{{ isset($app_name) ? $app_name.' | Cachet' : 'Cachet' }} - RSS Feed">
|
||||
|
||||
<!-- Mobile friendliness -->
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
@@ -35,7 +35,7 @@
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/img/apple-touch-icon-152x152.png">
|
||||
|
||||
<title>{{ $page_title }}</title>
|
||||
<title>{{ isset($app_name) ? $app_name.' | Cachet' : 'Cachet' }}</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ elixir('dist/css/all.css') }}">
|
||||
|
||||
Reference in New Issue
Block a user