@extends('blog::layouts.master') @section('pageTitle', 'Our Blog') @section('content') %section .container .row .col-md-9.mb-xs-24.prblog @foreach($posts as $p) .post-snippet.mb64 %a{:href => "{{route('show.blog', $p->slug)}}"} - if ($p->cover != null) %img{:alt => "blog thumbnail", :class=>"blog-image-post", :src => "{{asset('storage/'.$p->cover)}}"}/ .post-title %a.inline-block{:href => "{{route('show.blog', $p->slug)}}"} %h4 = $p->title %ul.post-meta %li %i.ti-user %span Written by %a{:href => "#"} = $p->user->name %li %i.ti-calendar %span = $p->publication_date %hr/ %p {!! strip_tags(substr($p->body, 0, 350)."...", '') !!} %a.btn.btn-sm.btn-filled{:href => "{{route('show.blog', $p->slug)}}"} Read more @endforeach / end of post snippet / end of post snippet .text-center %ul.pagination = $posts->links() / end of nine col .col-md-3.hidden-sm .widget %h6.title About Golden Goal %hr/ %p Golden Goal its the best app to create pickup games with your friends. Use Golden Goal to create games, invite your friends and keep the matches organized. / end of widget .widget %h6.title Categories %hr/ %ul.link-list @foreach($categories as $category) %li %a{:href => "{{route('modulo.blog').'?category='.$category->slug}}"} = $category->name @endforeach / end of widget .widget %h6.title Featured posts %hr/ %ul.recent-posts @foreach ($otros as $otro) %li %a.widget-recentpost__thumb{:href => "{{route('show.blog', $otro->slug)}}"} - if ($otro->cover != null) %img{:alt => "blog thumbnail", :src => "{{asset('storage/'.$otro->cover)}}"}/ .widget-recentpost__content %span.date = $otro->publication_date %h6 %a{:href => "{{route('show.blog', $otro->slug)}}"} = $otro->title @endforeach / end of widget / end of widget / end of sidebar / end of container row / end of container @endsection