@extends('layout.front.app') @section('title', $blog->translation->title) @section('description', $blog->translation->description) @section('page_img', $blog->img) @section('content')

{{-- @yield('title') --}} {{__('front.content_number')}}

@for ($i = 1; $i <10; $i++) @php $title = "title_".$i; $content = "content_".$i; @endphp @if(!empty($blog->translation->$title))

{{$blog->translation->$title}}

{!! $blog->translation->$content !!}
@endif @endfor
{{ $blog->translation->title }}
{{-- {{__('front.the_number')}} {{ $blog->number }} --}} @yield('title')
{!! $blog->translation->content !!} {{$blog->translation->writer}}

    @if (!empty($blog->translation->tags)) @php $tags = explode(',', $blog->translation->tags); @endphp @foreach ($tags as $tag)
  • {{$tag}}
  • @endforeach @endif
@endsection @section('js') @endsection