Update pages.blade.php
This commit is contained in:
parent
d8c22cf719
commit
3ce3d247af
|
@ -2,12 +2,7 @@
|
||||||
@include('layouts.lang')
|
@include('layouts.lang')
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
@php
|
<title>{{env('TITLE_FOOTER_'.strtoupper($name))}} - {{env('APP_NAME')}}</title>
|
||||||
$title = \Route::currentRouteName();
|
|
||||||
$title = str_replace('pages', '', $title);
|
|
||||||
$title = env('TITLE_FOOTER_'.strtoupper($title));
|
|
||||||
@endphp
|
|
||||||
<title>{{$title}} - {{env('APP_NAME')}}</title>
|
|
||||||
|
|
||||||
@include('layouts.analytics')
|
@include('layouts.analytics')
|
||||||
|
|
||||||
|
@ -86,7 +81,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="jumbotron" style="margin-top: 10%">
|
<div class="jumbotron" style="margin-top: 10%">
|
||||||
<h1 class="display-4">{{str_replace('"', "", EnvEditor::getKey('TITLE_FOOTER_'.strtoupper($name)))}}</h1>
|
<h1 class="display-4">{{env('TITLE_FOOTER_'.strtoupper($name))}}</h1>
|
||||||
<hr class="my-4">
|
<hr class="my-4">
|
||||||
<p>
|
<p>
|
||||||
<?php echo $data['page']->$name; ?>
|
<?php echo $data['page']->$name; ?>
|
||||||
|
|
Loading…
Reference in New Issue