aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/note.php b/templates/note.php
index 6e718f5..8887afb 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -6,7 +6,7 @@
<div class="infoLine">
<span class="authorName"><?= $note->author->displayName ?></span>
<span class="authorHandle">@<?= $note->author->getFullHandle() ?></span>
- <span class="timestamp">
+ <a class="timestamp" href="/@/<?= $note->author->getFullHandle() ?>/note/<?= $note->id ?>">
<?=
$note->created->format('Y-m-d \a\t H:i')
. (isset($note->modified) && $note->modified != $note->created
@@ -14,7 +14,7 @@
: ''
)
?>
- </span>
+ </a>
</div>
<div class="content">
<?= $note->getFormattedContent('text/html') ?? htmlspecialchars($note->plainContent) ?>