diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-06-29 21:10:46 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-06-29 21:10:46 +0200 |
commit | 5c5014a95ae79af4b052b5011e7d0c11d6eae6a6 (patch) | |
tree | 2e01690505d48a296d1826096f974762f46380dc /_site/home | |
parent | d2733aa17b7932dfb78e97639e7d568ac41b9ee1 (diff) | |
download | unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.gz unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.bz2 unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.zip |
It's all done? Almost, just missing the RSS feed!
Diffstat (limited to '_site/home')
-rw-r--r-- | _site/home/index.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/_site/home/index.php b/_site/home/index.php index c8a64db..2425013 100644 --- a/_site/home/index.php +++ b/_site/home/index.php @@ -30,11 +30,14 @@ <h3 style="margin-top:20px;">Also check out our older articles:</h3> <div class="list-group"> <?php $index = 0;foreach ($list as $id => $item): ?> - <?php if ($index > 3): ?> + <?php if ($index >= 3 && $index < 100): ?> <a href="/article/<?= $id ?>" class="list-group-item list-group-item-action"><?= $item["title"] ?></a> <?php endif; ?> <?php $index++;endforeach; ?> </div> + <?php if (count($list) > 100): ?> + <p>Wait! There's more! Our older articles aren't listed here to save you some bytes of data. You can get to the complete list <a href="/articles" style="text-decoration: underline;">here</a>.</p> + <?php endif; ?> <?php endif; ?> </div> |