![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/resources/themes/classified-craigs/ |
@extends('layouts.public') @section('page_header') @include('partials.page_header', ['item'=>$blog]) @endsection @section('content') <section class="content"> <section class="block"> <div class="container"> <div class="row"> <div class="{{ !in_array($blog->template ,['right','left'])?'col-md-12':'col-md-8' }} {{ $blog->template == 'left' ? 'order-lg-2':'' }}"> <article class="blog-post clearfix"> @if($item->post->featured_image) <img src="{{ $item->post->featured_image }}" alt=""> @endif <div class="article-title"> <h2><a href="#">{{ $item->post->title }}</a></h2> <div class="tags framed"> @foreach($item->post->activeCategories as $category) <a href="{{ url('category/'.$category->slug) }}" class="tag">{{ $category->name }}</a> @endforeach </div> <div class="tags framed"> @if(count($activeTags = $item->post->activeTags)) @foreach($activeTags as $tag) <a href="{{ url('tag/'.$tag->slug) }}" class="tag">{{ $tag->name }}</a> @endforeach @endif </div> </div> <div class="meta"> <figure> <a href="#" class="icon"> <i class="fa fa-user"></i> {{ $item->post->author->full_name }} </a> </figure> <figure> <i class="fa fa-calendar-o"></i> {{ format_date($item->post->published_at) }} </figure> </div> <div class="blog-post-content"> <p> {!! $item->post->rendered !!} </p> </div> </article> </div> @if(in_array($blog->template,['right','left'])) <div class="col-md-4 {{ $blog->template == 'left'?'order-lg-1':'' }}"> @include('partials.blog_sidebar') </div> @endif </div> </div> </section> </section> @endsection