diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 22:33:31 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-07 22:33:31 +0000 |
| commit | 8a59a4d61f20c7a7c03362d3f3a44e0197fd2827 (patch) | |
| tree | b24e9a317adddab2668795d036edd1b6d882e1a3 /source/_layouts | |
| parent | 9d7bf4de4d22933cabe28aef6a3cf0d7414f6be2 (diff) | |
Style post snippets
Diffstat (limited to 'source/_layouts')
| -rw-r--r-- | source/_layouts/master.blade.php | 4 | ||||
| -rw-r--r-- | source/_layouts/tag.blade.php (renamed from source/_layouts/category.blade.php) | 1 |
2 files changed, 2 insertions, 3 deletions
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 @@ <article class="p-4">@yield('article')</article> <aside class="p-4 lg:fixed"> <a href="/">Home</a> - @foreach ($page->allCategories($posts) as $category) - <a href="/categories/{{ Str::slug($category) }}">{{ $category }}</a> + @foreach ($page->allTags($posts) as $tag) + <a href="/tags/{{ Str::slug($tag) }}">{{ $tag }}</a> @endforeach </aside> </div> diff --git a/source/_layouts/category.blade.php b/source/_layouts/tag.blade.php index 90b64de..86bcc97 100644 --- a/source/_layouts/category.blade.php +++ b/source/_layouts/tag.blade.php @@ -1,7 +1,6 @@ @extends('_layouts.master') @section('article') - <h1>{{ $page->description }}</h1> <ol> @foreach ($page->posts($posts) as $post) @include('_partials.postStub') |
