Allow Subdirs

This commit is contained in:
seiichiro 2022-01-11 16:46:00 +01:00
parent 18ddafc4a0
commit 1f8473929b

View file

@ -18,7 +18,7 @@
<div class="content"> <div class="content">
{% foreach($dirs as $d): %} {% foreach($dirs as $d): %}
<div class="multi-image"> <div class="multi-image">
<a href="index.php?d={{ $d }}&s={{ $slice }}&p=1"> <a href="index.php?d={{ $dir }}/{{ $d }}&s={{ $slice }}&p=1">
<img src="./img/folder.png" alt="{{ $d }}"/> <img src="./img/folder.png" alt="{{ $d }}"/>
</a> </a>
<p class="dirname">{{ $d }}</p> <p class="dirname">{{ $d }}</p>