minor usability improvements, added default spacing between paragraph tags, added last edited/updated to articles and article cards.

This commit is contained in:
2025-04-12 11:42:55 -06:00
parent fb35e93226
commit f4dfaba1c6
3 changed files with 16 additions and 7 deletions
+3 -1
View File
@@ -103,7 +103,8 @@ function article_page_from_markdown($article_id)
<div class="row">
<div class="col_right">
<h5>Written by <a href="user.php?action=view&user_id=' . $author['user_id'] . '">' . $author['username'] . '</a></h5>
<p>Published on ' . $article['published_at'] . '</p>
<p>Published on ' . $article['published_at'] . '<br>
Lasted edited on ' . $article['updated_at'] . '</p>
</div>
<div class="card_pic_box">
<img src="' . $_ENV['PROFILE_IMAGES_PQ_PATH'] . $author['profile_picture'] . '" class="card_profile_picture" />
@@ -175,6 +176,7 @@ function article_card($article_id)
<div class="col-right">
<a href="user.php?action=view&user_id=' . $author['user_id'] . '">Written by: ' . $author['username'] . '</a>
<small>Published: ' . $article['published_at'] . '</small>
<small>Updated: ' . $article['updated_at'] . '</small>
</div>
<div class="card_pic_box">
<img src="' . $_ENV['PROFILE_IMAGES_PQ_PATH'] . $author['profile_picture'] . '" class="card_profile_picture">