@extends('layout.front.app') @section('title', $blog->translation->title) @section('description', $blog->translation->description) @section('page_img', $blog->img) @section('content') {{__('front.publication_rules')}} {{ __('front.editorial_board') }} {{__('front.contact_us')}} {{__('front.home')}} {{__('front.magazine_archive')}} @yield('title') {{-- @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 {{-- {{__('front.the_number')}} {{ $blog->number }} --}} @yield('title') {{ __('front.download_number') }} {{ $blog->number }} @if (!empty($blog->promo_url)) {{ __('front.promo_number') }} {{ $blog->number }} @endif {!! $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