summaryrefslogtreecommitdiff
path: root/source/_layouts
diff options
context:
space:
mode:
Diffstat (limited to 'source/_layouts')
-rw-r--r--source/_layouts/category.blade.php3
-rw-r--r--source/_layouts/master.blade.php13
-rw-r--r--source/_layouts/post.blade.php7
3 files changed, 12 insertions, 11 deletions
diff --git a/source/_layouts/category.blade.php b/source/_layouts/category.blade.php
index 27bc9dd..90b64de 100644
--- a/source/_layouts/category.blade.php
+++ b/source/_layouts/category.blade.php
@@ -1,10 +1,11 @@
@extends('_layouts.master')
@section('article')
- <h1 class="p-4 text-green-600 text-4xl font-bold">{{ $page->description }}</h1>
+ <h1>{{ $page->description }}</h1>
<ol>
@foreach ($page->posts($posts) as $post)
@include('_partials.postStub')
@endforeach
</ol>
@endsection
+
diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php
index 7677d44..0a445e7 100644
--- a/source/_layouts/master.blade.php
+++ b/source/_layouts/master.blade.php
@@ -6,17 +6,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ mix('css/main.css', 'assets/build') }}">
</head>
- <body class="mb-8 lg:px-16 xl:px-32">
+ <body>
<div id="main-sidebar-container">
- <article>@yield('article')</article>
- <aside class="px-4">
- <p class="py-4 text-2xl">
- <a class="block" href="/"><svg class="inline-block fill-current w-5 h-5"xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8 20H3V10H0L10 0l10 10h-3v10h-5v-6H8v6z"/></svg> Home</a>
- </p>
+ <article class="p-4">@yield('article')</article>
+ <aside class="p-4 lg:fixed">
+ <a href="/">Home</a>
@foreach ($page->allCategories($posts) as $category)
- <a class="rounded p-1 {{Str::slug($category) }}" href="/categories/{{ Str::slug($category) }}">{{ $category }}</a>
+ <a href="/categories/{{ Str::slug($category) }}">{{ $category }}</a>
@endforeach
</aside>
</div>
</body>
</html>
+
diff --git a/source/_layouts/post.blade.php b/source/_layouts/post.blade.php
index 6d8fa30..0c82477 100644
--- a/source/_layouts/post.blade.php
+++ b/source/_layouts/post.blade.php
@@ -2,11 +2,12 @@
@section('article')
<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') }}">
+ <h1>{{$page->title }}</h1>
+ <h2>{{ $page->description }}</h2>
+ <time datetime="{{ $page->getDate()->format('Y-m-d') }}">
{{ $page->getDate()->format('M d, Y') }}
</time>
</header>
@yield('content')
@endsection
+