@extends('frontend.layouts.app') @section('metatags') @endsection @section('title', 'Über uns') @section('content')

Blog

@if(count($posts) !=0 )
{{ $posts->count() }} Result for {{ $query }}
@if($posts->count() > 0) @foreach ($posts as $post)
{{ $post->created_at->toFormattedDateString() }}
{{ substr(strip_tags($post->title),0, 100) }}

@foreach($post->categories as $category) {{ $category->name }} @endforeach

{!! substr(strip_tags($post->description),0, 300) !!}

Erfahre mehr!
@endforeach @endif
@else

No Post :(

@endif
@include('frontend/partials/subscribe') @endsection @section('scripts') @endsection