diff options
Diffstat (limited to 'source/_layouts/master.blade.php')
| -rw-r--r-- | source/_layouts/master.blade.php | 13 |
1 files changed, 6 insertions, 7 deletions
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> + |
