diff options
Diffstat (limited to 'source/_layouts/category.blade.php')
| -rw-r--r-- | source/_layouts/category.blade.php | 32 |
1 files changed, 8 insertions, 24 deletions
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') - <meta property="og:title" content="{{ $page->title }}" /> - <meta property="og:type" content="website" /> - <meta property="og:url" content="{{ $page->getUrl() }}"/> - <meta property="og:description" content="{{ $page->description }}" /> -@endpush - -@section('body') - <h1>{{ $page->title }}</h1> - - <div class="text-2xl border-b border-blue-200 mb-6 pb-10"> - @yield('content') - </div> - - @foreach ($page->posts($posts) as $post) - @include('_components.post-preview-inline') - - @if (! $loop->last) - <hr class="w-full border-b mt-2 mb-6"> - @endif - @endforeach - - @include('_components.newsletter-signup') -@stop +@section('article') + <h1>{{ $page->description }}</h1> + <ol> + @foreach ($page->posts($posts) as $post) + <li><a href="{{ $post->getUrl() }}">{{$post->title }}</a></li> + @endforeach + </ol> +@endsection |
