@extends('layouts.siteLayouts') @section('content') @include('site.home.slider')

اخبار

@php($mayor = \App\Mayor::first())
{{$mayor->name}}
{{$mayor->curt}}
@if($banner)
{{$banner->name}}
@endif @include('site.side')
@foreach($lists as $list) @if($list->type == 'tab' && \App\Lists::postShow($list)->count() > 0) first) data-ah-tab-active="true" @endif href="">{{$list->name}} @endif @endforeach
@foreach($lists as $list) @if ($list->type == 'news-horizontal') @elseif($list->type == 'news-vertical')

{{$list->name}}

@php($posts =\App\Lists::postShow($list)->latest()->first())
{{$post->fa_name}}
  • {{\Morilog\Jalali\Jalalian::forge($post->published_at)->format('Y F j')}}

{{$post->fa_name}}

@php($posts = \App\Lists::postShow($list)->skip(1)->take(4)->get())
@foreach($posts as $post)

{{$post->fa_name}}

@endforeach
@elseif($list->type == 'image') @endif @endforeach @if(count($galleries)) @endif @endsection