From 8a59a4d61f20c7a7c03362d3f3a44e0197fd2827 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sat, 7 Mar 2020 22:33:31 +0000 Subject: Style post snippets --- source/_layouts/category.blade.php | 11 ----------- source/_layouts/master.blade.php | 4 ++-- source/_layouts/tag.blade.php | 10 ++++++++++ 3 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 source/_layouts/category.blade.php create mode 100644 source/_layouts/tag.blade.php (limited to 'source/_layouts') diff --git a/source/_layouts/category.blade.php b/source/_layouts/category.blade.php deleted file mode 100644 index 90b64de..0000000 --- a/source/_layouts/category.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@extends('_layouts.master') - -@section('article') -

{{ $page->description }}

-
    - @foreach ($page->posts($posts) as $post) - @include('_partials.postStub') - @endforeach -
-@endsection - diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php index 0a445e7..cb9ebdc 100644 --- a/source/_layouts/master.blade.php +++ b/source/_layouts/master.blade.php @@ -11,8 +11,8 @@
@yield('article')
diff --git a/source/_layouts/tag.blade.php b/source/_layouts/tag.blade.php new file mode 100644 index 0000000..86bcc97 --- /dev/null +++ b/source/_layouts/tag.blade.php @@ -0,0 +1,10 @@ +@extends('_layouts.master') + +@section('article') +
    + @foreach ($page->posts($posts) as $post) + @include('_partials.postStub') + @endforeach +
+@endsection + -- cgit v1.2.3-13-gbd6f