mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-27 07:44:33 +02:00
Title improvements
This commit is contained in:
@@ -60,6 +60,7 @@ class DirectoryHandler
|
||||
'files' => $files,
|
||||
'path' => $path,
|
||||
'readme' => $this->readme($files),
|
||||
'title' => $path == '.' ? 'Home' : $path,
|
||||
]);
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
{% extends "layouts/app.twig" %}
|
||||
{% set title = path == '.' ? 'Home' : path %}
|
||||
|
||||
{% block content %}
|
||||
{% include "components/header.twig" %}
|
||||
|
Reference in New Issue
Block a user