@extends('templates.theme-four') @section('titulo-pagina') @if(!empty($site->informacao->nome_comercial)) {{ $site->informacao->nome_comercial }} - Notícias @else Notícias @endif @endsection @section('style') @endsection @section('menu-noticias') active @endsection @section('header')
conteudos() ->where('tipo','banner_pagina') ->first()) style="background-image: url('{{route('arquivo.show',$conteudo ->conteudos() ->where('tipo','banner_pagina') ->first() ->imagem)}}') !important" @else style="background-image: url('{{asset('theme-four/img/bg.jpg')}}') !important" @endif >
@if($conteudo->conteudos()->where('tipo','titulo_pagina')->first())

{!!$conteudo->conteudos()->where('tipo','titulo_pagina')->first()->descricao!!}

@else

NOTÍCIAS

@endif
@endsection @section('conteudo')
@if($posts) @foreach($posts as $item)

{{ substr( ($item->titulo ), 0, 80)}} ...

Publicado em {{ date('d/m/Y',strtotime($item->created_at)) }}
Veja mais...

@endforeach
{{$posts -> links('vendor.pagination.bootstrap-4') }}
@endif @if($feed) @foreach($feed['items'] as $key => $item)
@if(!isset($item->solicitacao_id))

{{ substr( ($item->get_title() ), 0, 80)}} ...

Publicado em {{ $item->get_date('d/m/Y') }}
Veja mais...

@endif
@if($key > ($site->adicional->num_noticias_home - 2)) @break @endif @endforeach @endif
@endsection @section('scripts') @endsection