aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9bf460c..1897f36 100644
--- a/index.php
+++ b/index.php
@@ -23,7 +23,7 @@
<img class="stylized-card-icon" <?php if (!isset($project["icon"])): ?>style="background: hsla(<?= hexdec(substr($project['id'], 0, 2)) ?>, 100%, 50%, 0.1) !important;"<?php endif; ?> src="<?= isset($project["icon"]) ? $project["icon"] . "?width=96" : "/assets/img/letters/" . getLetters($project['name']) . ".png" ?>" alt="">
<h4 class="card-title"><?= $project["name"] ?></h4>
<p class="card-text"><?= preg_replace('/[|.?!;](.*)/m', '', strip_tags($Parsedown->line(trim($project["description"])))) ?></p>
- <a href="?<?= $project["id"] ?>" class="btn btn-outline-light">View Project</a>
+ <a href="/projects?<?= $project["id"] ?>" class="btn btn-outline-light">View Project</a>
<div class="small text-muted" style="margin-top:10px;">Updated <?= timeAgo($project['date']) ?></div>
</div>
</div>