HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/views/pages/posts_index.blade.php
@extends('layouts.master')

@section('background')
    <div class="bg-50"></div>
@stop

@section('sidebar')
    @include('partials.sidebar')
@stop

@section('brandNavigationBar')
    @include('partials.brandNavigationBar')
@stop

@section('content')
    <div class="content-container column fluid-100">

        {{--Breadcrump--}}
        @include('partials.breadcrumb')

        {{--Title--}}
        <h1 class="page-title">{{ $entity->name }}</h1>

        <section class="c-blog-articles">

            @foreach($posts as $post)
                <article class="c-blog-articles__item">
                    <a class="c-blog-articles__link" href="/{{$entity->route}}/{{ $post->slug }}">
                        <figure class="c-blog-articles__figure">
                            <div class="c-blog-articles__image-wrapper">
                                @if(isset($post->medium_image_url))
                                    <span class="c-blog-articles__image" style="background-image: url('{{$post->medium_image_url}}');"></span>
                                @endif
                            </div>
                        </figure>
                        <div class="c-blog-articles__content">
                            <h3 class="c-blog-articles__title">{{$post->name}}</h3>
                            <div class="c-blog-articles__date">{{\Carbon\Carbon::createFromFormat(\Carbon\Carbon::DEFAULT_TO_STRING_FORMAT, $post->date)->format('d / m / Y')}}</div>
                            @if(!empty($post->meta_description))<div class="c-blog-articles__teaser">{{ $post->meta_description }}</div>@endif

                            <span class="c-blog-articles__button  btn">
                                @lang('pages/posts.read_more')
                            </span>
                        </div>
                    </a>
                </article>
            @endforeach

            @if(method_exists($posts, 'links'))
                {{$posts->links('partials.pagination')}}
            @endif
        </section>

    </div>
@stop

@section('askHelpPopUp')
    @include('partials.askHelpPopUp')
@stop