fix listing

This commit is contained in:
Ben Harris 2019-09-23 12:02:33 -04:00
parent 0f3df53ed0
commit 0139cf078e
1 changed files with 2 additions and 1 deletions

3
dist/index.php vendored
View File

@ -16,9 +16,10 @@
<p>this is the tildeverse zine</p>
<p>get involved and send in some content: <a href="https://tildegit.org/tildeverse/zine">tildeverse/zine</a></p>
<hr>
<h2>issues</h2>
<?php foreach (glob("dist/*.html") as $issue) {
<?php foreach (glob("*.html") as $issue) {
$issue = mb_substr(basename($issue, ".html"), 6); ?>
<h4>issue <?=$issue?></h4>
<p>