From f75fad504b7181c6fd810016dfcb1672fc486ab7 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Fri, 21 Feb 2020 21:46:46 +0000 Subject: Structure for category pages --- source/_layouts/category.blade.php | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'source/_layouts') diff --git a/source/_layouts/category.blade.php b/source/_layouts/category.blade.php index 60ccede..bd62fd2 100644 --- a/source/_layouts/category.blade.php +++ b/source/_layouts/category.blade.php @@ -1,26 +1,10 @@ @extends('_layouts.master') -@push('meta') - - - - -@endpush - -@section('body') -

{{ $page->title }}

- -
- @yield('content') -
- - @foreach ($page->posts($posts) as $post) - @include('_components.post-preview-inline') - - @if (! $loop->last) -
- @endif - @endforeach - - @include('_components.newsletter-signup') -@stop +@section('article') +

{{ $page->description }}

+
    + @foreach ($page->posts($posts) as $post) +
  1. {{$post->title }}
  2. + @endforeach +
+@endsection -- cgit v1.2.3-13-gbd6f