summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/_categories/configuration.md5
-rw-r--r--source/_categories/feature.md5
-rw-r--r--source/_layouts/category.blade.php32
-rw-r--r--source/_posts/custom-404-page.md2
4 files changed, 11 insertions, 33 deletions
diff --git a/source/_categories/configuration.md b/source/_categories/configuration.md
index d613d9b..0642801 100644
--- a/source/_categories/configuration.md
+++ b/source/_categories/configuration.md
@@ -1,7 +1,4 @@
---
extends: _layouts.category
-title: Configuration
-description: Posts related to configuring the Jigsaw blog starter template
+description: All the Configuration posts
---
-
-These posts are all related to configuring your Jigsaw blog starter template.
diff --git a/source/_categories/feature.md b/source/_categories/feature.md
index 6b8d55f..553cb2a 100644
--- a/source/_categories/feature.md
+++ b/source/_categories/feature.md
@@ -1,7 +1,4 @@
---
extends: _layouts.category
-title: Feature
-description: All posts that are about new features.
+description: All the feature posts.
---
-
-These posts are about new features provided to you in the Jigsaw blog starter template.
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
diff --git a/source/_posts/custom-404-page.md b/source/_posts/custom-404-page.md
index d091fd0..6ae28c5 100644
--- a/source/_posts/custom-404-page.md
+++ b/source/_posts/custom-404-page.md
@@ -4,7 +4,7 @@ section: content
title: Custom 404 Pages
date: 2018-12-23
description: Add a custom 404 page is easy with Jigsaw
-categories: [configuration, feature]
+categories: [feature]
---
This starter template includes a custom __404 Not Found__ error page, located at `/source/404.blade.php`. [To preview the 404 page](/404), you can visit `/404` in your browser.