@extends('templates.theme-eight') @section('menu-noticias') active @stop @section('titulo-pagina') @empty(!$site->informacao->nome_comercial) {{ $site->informacao->nome_comercial }} - notícias @else Notícias @endif @endsection @section('content')

@if($conteudo->conteudos()->where('tipo','titulo_pagina')->first()) {!!$conteudo->conteudos()->where('tipo','titulo_pagina')->first()->descricao !!} @else Notícias @endif

{!! Form::open( ['route' => ['salvarContatoNewsletter', 'subdominio' => Route::input('subdominio') ] , 'method' => 'POST', 'class'=>'contact-form row extend form-news px', 'id' => 'newsletter'] ) !!} {!! Form::hidden('id_solicitacao', $site->id, ['class'=>'form-control']) !!}

@if($conteudo -> conteudos() ->where('tipo','titulo_newsletter') -> first()) {!! $conteudo -> conteudos() ->where('tipo','titulo_newsletter') -> first() ->descricao !!} @else Assine nosso newsletter e receba as notícias no seu e-mail: @endif

{!! Form::close() !!}
@if($posts) @foreach($posts as $post)

{{$post ->titulo}}

{{substr(strip_tags($post -> texto), 0, 117)}}

Continue lendo...
@endforeach @endif @if($feed) @foreach($feed['items'] as $key => $item)

{{$item->get_title()}}

{{substr(strip_tags($item ->data['child']['']['description'][0]['data'] ?? ''), 0, 180)}}...

Continue lendo...
@if($key > ($site->adicional->num_noticias_home - 2)) @break @endif @endforeach @endif
@endsection