@extends('webprofile.front.jollyany.master2')

@section('meta')
<title>{{$data->rDe?$data->rDe->title:$data->title}}</title>
{{-- <meta name="{{ Str::slug($data->rDe->title) }}" content="custom"/> --}}
  <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rDe?$data->rDe->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
  <meta name="keywords" content="{{ $data->rDe?$data->rDe->keys:$data->keys }}">
  <meta name="author" content="{{ $setting['header_admin'] }}">
  {{-- <meta property="og:site_name" content="{{$setting['web_title']}}" />
  <meta property="og:title" content="{{$data->rDe->title}}" />
  <meta property="og:url" content="{{ url('page/'.$data->slug) }}" />
  <meta property="og:description" content="{!! strip_tags(substr(html_entity_decode($data->rDe->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}" />
  <meta property="og:locale" content="{{Session::get('selected_language')}}" />
  <meta property="og:image" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
  <meta property="og:image:secure_url" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
  <meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" /> --}}
@endsection

@section('content')
  <section class="post-wrapper-top jt-shadow clearfix">
    <div class="container">
      <div class="col-lg-12">
        @if ($data->rDe)
          <h2>{!! $data->rDe->title !!}</h2>
        @endif
      </div>
    </div>
  </section><!-- end post-wrapper-top -->

  <section class="blog-wrapper">
    <div class="container">
        <div class="row">
          <div id="main-content" class="col-md-12" role="main" align="justify">
            @if ($data->rDe)
            {!! $data->rDe->content !!}
            @endif
          </div>
        </div>
      </div><!-- end title -->
    </div><!-- end container -->
  </section><!--end white-wrapper -->
@endsection
