diff options
Diffstat (limited to '_site/articles')
-rw-r--r-- | _site/articles/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_site/articles/index.php b/_site/articles/index.php index b694a15..1ea7270 100644 --- a/_site/articles/index.php +++ b/_site/articles/index.php @@ -8,7 +8,7 @@ <div class="container"> <div class="list-group"> <?php $index = 0;foreach ($list as $id => $item): ?> - <a href="/article/<?= $id ?>" class="list-group-item list-group-item-action"><?= $item["title"] ?></a> + <a href="/article/<?= $item["id"] ?>" class="list-group-item list-group-item-action"><?= $item["title"] ?></a> <?php $index++;endforeach; ?> </div> </div> |