From a12d45489a078f8067489ef8b42745c7b46e9a9a Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Thu, 20 Feb 2020 23:17:42 +0000 Subject: Work on basic site layout --- source/index.blade.php | 54 ++++++-------------------------------------------- 1 file changed, 6 insertions(+), 48 deletions(-) (limited to 'source/index.blade.php') diff --git a/source/index.blade.php b/source/index.blade.php index 2534ee0..d474972 100644 --- a/source/index.blade.php +++ b/source/index.blade.php @@ -1,51 +1,9 @@ @extends('_layouts.master') -@section('body') - @foreach ($posts->where('featured', true) as $featuredPost) -
- @if ($featuredPost->cover_image) - {{ $featuredPost->title }} cover image - @endif - -

- {{ $featuredPost->getDate()->format('F j, Y') }} -

- -

- - {{ $featuredPost->title }} - -

- -

{!! $featuredPost->getExcerpt() !!}

- - - Read - -
- - @if (! $loop->last) -
- @endif - @endforeach - - @include('_components.newsletter-signup') - - @foreach ($posts->where('featured', false)->take(6)->chunk(2) as $row) -
- @foreach ($row as $post) -
- @include('_components.post-preview-inline') -
- - @if (! $loop->last) -
- @endif - @endforeach -
- - @if (! $loop->last) -
- @endif +@section('article') +
    + @foreach ($posts as $post) +
  1. {{$post->title }}
  2. @endforeach -@stop +
+@endsection -- cgit v1.2.3-13-gbd6f