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

@section('meta')
<title>{{$data->rEn?$data->rEn->title:$data->title}}</title>
{{-- <meta name="{{ Str::slug($data->rEn->title) }}" content="custom"/> --}}
  <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn?$data->rEn->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
  <meta name="keywords" content="{{ $data->rEn?$data->rEn->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->rEn->title}}" />
  <meta property="og:url" content="{{ url('page/'.$data->slug) }}" />
  <meta property="og:description" content="{!! strip_tags(substr(html_entity_decode($data->rEn->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)}}" />
  <link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
  <link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
  <link rel="canonical" href="{{ url('') }}" /> --}}
@endsection

@section('content')
  <section class="post-wrapper-top jt-shadow clearfix">
    <div class="container">
      <div class="col-lg-12">
        @if ($data->rEn)
          <h2>{!! $data->rEn->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->rEn)
            {!! $data->rEn->content !!}
            @endif
          </div>
        </div>
      </div><!-- end title -->
    </div><!-- end container -->
  </section><!--end white-wrapper -->
@endsection
