summaryrefslogtreecommitdiff
path: root/source/_layouts/master.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'source/_layouts/master.blade.php')
-rw-r--r--source/_layouts/master.blade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php
index 429c4a7..05402f8 100644
--- a/source/_layouts/master.blade.php
+++ b/source/_layouts/master.blade.php
@@ -9,7 +9,7 @@
<aside>
<ol>
@foreach ($page->allCategories($posts) as $category)
- <li><a href="/categories/{{ $category }}">{{ $category }}</a></li>
+ <li><a href="/categories/{{ \Illuminate\Support\Str::slug($category) }}">{{ $category }}</a></li>
@endforeach
</ol>
</aside>