Skip to content

Commit 3ce3d24

Browse files
committed
Update pages.blade.php
1 parent d8c22cf commit 3ce3d24

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

resources/views/pages.blade.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
@include('layouts.lang')
33
<head>
44
<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>
5+
<title>{{env('TITLE_FOOTER_'.strtoupper($name))}} - {{env('APP_NAME')}}</title>
116

127
@include('layouts.analytics')
138

@@ -86,7 +81,7 @@ function update_color_scheme() {
8681
@endif
8782

8883
<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>
9085
<hr class="my-4">
9186
<p>
9287
<?php echo $data['page']->$name; ?>

0 commit comments

Comments
 (0)