summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-03-01 23:23:28 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-03-01 23:23:28 +0000
commit615b4ff16c8178c8c48b0a792c4f4691502e39e4 (patch)
tree4c616b13a686344e744ef387888647e2040c0b85
parente4d4d05c711ee393df612b7067d6c9050b547bbc (diff)
Add home link
-rw-r--r--source/_layouts/master.blade.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php
index c8398a5..3c34cff 100644
--- a/source/_layouts/master.blade.php
+++ b/source/_layouts/master.blade.php
@@ -8,6 +8,9 @@
<div id="main-sidebar-container">
<article>@yield('article')</article>
<aside>
+ <p class="py-4 text-gray-200">
+ <a class="block" href="/"><svg class="inline-block fill-current w-4 h-4"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>
@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