first upload all files
This commit is contained in:
28
Themes/Storefront/views/public/pages/show.blade.php
Normal file
28
Themes/Storefront/views/public/pages/show.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('public.layout')
|
||||
|
||||
@section('title', $page->name)
|
||||
|
||||
@push('meta')
|
||||
<meta name="title" content="{{ $page->meta->meta_title ?: $page->name }}">
|
||||
<meta name="description" content="{{ $page->meta->meta_description }}">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta property="og:url" content="{{ url()->current() }}">
|
||||
<meta property="og:title" content="{{ $page->meta->meta_title ?: $page->name }}">
|
||||
<meta property="og:description" content="{{ $page->meta->meta_description }}">
|
||||
<meta property="og:image" content="{{ $logo }}">
|
||||
<meta property="og:locale" content="{{ locale() }}">
|
||||
|
||||
@foreach (supported_locale_keys() as $code)
|
||||
<meta property="og:locale:alternate" content="{{ $code }}">
|
||||
@endforeach
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<section class="custom-page-wrap clearfix">
|
||||
<div class="container">
|
||||
<div class="custom-page-content clearfix">
|
||||
{!! $page->body !!}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user