<section class="block-wrapper" id="{{$data->slug}}">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">

                <!-- block content -->
                <div class="block-content">
                    <div class="title-section">
                        <h1><span>{{$data->name}}</span></h1>
                    </div>
    
                    <div class="row" style="margin-top: 2em;">
                        <div class="col-md-6">
                            <ul class="list-posts">
                                
                                @if($data->small1 != '')
                                    <li>
                                        <a href="{{$data->small1->slug}}"><img src="/files/news/{{$data->small1->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small1->slug}}">{{$data->small1->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small1->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
    
                                @if($data->small2 != '')
                                    <li>
                                        <a href="{{$data->small2->slug}}"><img src="/files/news/{{$data->small2->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small2->slug}}">{{$data->small2->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small2->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
                                
                                @if($data->small3 != '')
                                    <li>
                                        <a href="{{$data->small3->slug}}"><img src="/files/news/{{$data->small3->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small3->slug}}">{{$data->small3->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small3->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
                                
                            </ul>
                        </div>

                        <div class="col-md-6">
                            <ul class="list-posts">
                                @if($data->small4 != '')
                                    <li>
                                        <a href="{{$data->small4->slug}}"><img src="/files/news/{{$data->small4->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small4->slug}}">{{$data->small4->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small4->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
                                @if($data->small5 != '')
                                    <li>
                                        <a href="{{$data->small5->slug}}"><img src="/files/news/{{$data->small5->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small5->slug}}">{{$data->small5->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small5->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
                                @if($data->small6 != '')
                                    <li>
                                        <a href="{{$data->small6->slug}}"><img src="/files/news/{{$data->small6->image}}" alt=""></a>
                                        <div class="post-content">
                                            <h2><a href="{{$data->small6->slug}}">{{$data->small6->title}}</a></h2>
                                            <ul class="post-tags">
                                                <li><i class="fa fa-clock-o"></i>{{$data->small6->date}}</li>
                                            </ul>
                                        </div>
                                    </li>
                                @endif
                            </ul>
                        </div>
                    </div>
                </div>

            </div>

            <div class="col-sm-4 sidebar">

                @include('partials.section_adv', ['advs' => $advs])
                
            </div>
        </div>
    </div>
</section>          
          
<div class="container">
    <div class="row">
        <div class="col-md-8">
            <div class="center-button">
                <a href="/{{$data->slug}}">ARCHIVIO NOTIZIE</a>
            </div>
        </div>
    </div>
</div>