We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c22cf commit 3ce3d24Copy full SHA for 3ce3d24
1 file changed
resources/views/pages.blade.php
@@ -2,12 +2,7 @@
2
@include('layouts.lang')
3
<head>
4
<meta charset="utf-8">
5
- @php
6
- $title = \Route::currentRouteName();
7
- $title = str_replace('pages', '', $title);
8
- $title = env('TITLE_FOOTER_'.strtoupper($title));
9
- @endphp
10
- <title>{{$title}} - {{env('APP_NAME')}}</title>
+ <title>{{env('TITLE_FOOTER_'.strtoupper($name))}} - {{env('APP_NAME')}}</title>
11
12
@include('layouts.analytics')
13
@@ -86,7 +81,7 @@ function update_color_scheme() {
86
81
@endif
87
82
88
83
<div class="jumbotron" style="margin-top: 10%">
89
- <h1 class="display-4">{{str_replace('"', "", EnvEditor::getKey('TITLE_FOOTER_'.strtoupper($name)))}}</h1>
84
+ <h1 class="display-4">{{env('TITLE_FOOTER_'.strtoupper($name))}}</h1>
90
85
<hr class="my-4">
91
<p>
92
<?php echo $data['page']->$name; ?>
0 commit comments