diff options
Diffstat (limited to '_site/articles/index.php')
-rw-r--r-- | _site/articles/index.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/_site/articles/index.php b/_site/articles/index.php index fcac33a..14f892b 100644 --- a/_site/articles/index.php +++ b/_site/articles/index.php @@ -1,18 +1,18 @@ -<?php $_TITLE = "Articles Index"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> - -<div class="container" style="margin-top:30px;text-align: center;"> - <h2>Here be dragons!</h2> - <p>This is the complete list of all the posts that were on UnchainedTech one day. Yep, they are all here!</p> -</div> -<?php $list = getArticlesList() ?> -<div class="container"> - <div class="list-group"> - <?php $index = 0;foreach ($list as $id => $item): ?> - <?php if (!$item["admin"] || ($admin && $item["admin"])): ?> - <a href="<?= $item["admin"] ? "/admin" : "" ?>/article/<?= $item["id"] ?>" class="list-group-item list-group-item-action<?= $item["admin"] ? " list-group-item-admin" : "" ?>"><?= $item["title"] ?></a> - <?php endif; ?> - <?php $index++;endforeach; ?> - </div> -</div> - +<?php $_TITLE = "Articles Index"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?>
+
+<div class="container" style="margin-top:30px;text-align: center;">
+ <h2>Here be dragons!</h2>
+ <p>This is the complete list of all the posts that were on UnchainedTech one day. Yep, they are all here!</p>
+</div>
+<?php $list = getArticlesList() ?>
+<div class="container">
+ <div class="list-group">
+ <?php $index = 0;foreach ($list as $id => $item): ?>
+ <?php if (!$item["admin"] || ($admin && $item["admin"])): ?>
+ <a href="<?= $item["admin"] ? "/admin" : "" ?>/article/<?= $item["id"] ?>" class="list-group-item list-group-item-action<?= $item["admin"] ? " list-group-item-admin" : "" ?>"><?= $item["title"] ?></a>
+ <?php endif; ?>
+ <?php $index++;endforeach; ?>
+ </div>
+</div>
+
<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/footer.php"; ?>
\ No newline at end of file |