summaryrefslogtreecommitdiff
path: root/source/_layouts/post.blade.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-03-07 19:50:24 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-03-07 19:50:24 +0000
commit9240b4b969758bf2e73d8e4f6bc3fc92e611f32a (patch)
treedef88c5e4f0805caa5dba319d29fb21dcd9d7300 /source/_layouts/post.blade.php
parent0b8eddf2cc42805c92d846e7d6566b18e5e3e554 (diff)
Style category pages
Diffstat (limited to 'source/_layouts/post.blade.php')
-rw-r--r--source/_layouts/post.blade.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/_layouts/post.blade.php b/source/_layouts/post.blade.php
index fec0473..6d8fa30 100644
--- a/source/_layouts/post.blade.php
+++ b/source/_layouts/post.blade.php
@@ -1,6 +1,12 @@
@extends('_layouts.master')
@section('article')
- <h1>{{ $page->title }}</h1>
+ <header>
+ <h1 class="text-green-300 text-4xl font-bold">{{$page->title }}</h1>
+ <h2 class="text-2xl text-gray-300">{{ $page->description }}</h2>
+ <time class="" datetime="{{ $page->getDate()->format('Y-m-d') }}">
+ {{ $page->getDate()->format('M d, Y') }}
+ </time>
+ </header>
@yield('content')
@endsection