mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-01 18:03:29 +02:00
Fixed title not displaying on the home page
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{% extends "layouts/app.twig" %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block content %}
|
||||
{% include "components/header.twig" %}
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('app.css') }}">
|
||||
|
||||
<title>{% block title %}{% endblock %} • Directory Lister</title>
|
||||
<title>{{ title | default('Home') }} • Directory Lister</title>
|
||||
|
||||
<div id="app" class="flex flex-col min-h-screen font-mono {{ config('dark_mode') ? 'dark-mode' : 'light-mode' }}">
|
||||
{% block content %}{% endblock %}
|
||||
|
Reference in New Issue
Block a user