Fixed incorrect title

This commit is contained in:
Chris Kankiewicz
2020-01-26 01:21:31 -07:00
parent 1730c276ed
commit 174c7a44e2

View File

@@ -6,7 +6,7 @@
<link rel="stylesheet" href="{{ asset('app.css') }}">
<title>{{ path | default('Home') }} &bull; Directory Lister</title>
<title>{{ path == '.' ? 'Home' : path }} &bull; Directory Lister</title>
<div id="app" class="flex flex-col min-h-screen font-sans {{ config('dark_mode') ? 'dark-mode' : 'light-mode' }}">
{% block content %}{% endblock %}