diff options
Diffstat (limited to 'source/_layouts')
| -rw-r--r-- | source/_layouts/master.blade.php | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php index 05402f8..c8398a5 100644 --- a/source/_layouts/master.blade.php +++ b/source/_layouts/master.blade.php @@ -1,3 +1,4 @@ +<?php use \Illuminate\Support\Str; ?>  <!doctype html>  <html lang="en">      <head> @@ -7,11 +8,9 @@      <div id="main-sidebar-container">          <article>@yield('article')</article>          <aside> -            <ol> -                @foreach ($page->allCategories($posts) as $category) -                    <li><a href="/categories/{{ \Illuminate\Support\Str::slug($category) }}">{{ $category }}</a></li> -                @endforeach -            </ol> +            @foreach ($page->allCategories($posts) as $category) +                <a class="rounded p-1 text-gray-200 {{Str::slug($category) }}" href="/categories/{{ Str::slug($category) }}">{{ $category }}</a> +            @endforeach          </aside>      </div>    </body>  | 
