aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
authorwinter2025-03-10 20:13:40 +0000
committerwinter2025-03-10 20:13:40 +0000
commit30fa49bc3fa4f94184d693932e838c0672f24a16 (patch)
treed15bccf49c5c15905bb581e2f394b281ce852ee3 /templates/note.php
parent2bd4a086b0f50b1b88faf846da91267290ca4b07 (diff)
add user rss/atom feeds
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/note.php b/templates/note.php
index 6835a0f..94edf2b 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -1,4 +1,6 @@
<?php
+/** @var \Digitigrade\Model\Note $note */
+
use Digitigrade\Model\Actor;
use Digitigrade\Model\InteractionKind;
use Digitigrade\Model\NotePrivacyScope;
@@ -79,7 +81,7 @@ $pathToSelf = '/@/' . $note->author->getFullHandle() . '/note/' . $note->id;
<details>
<summary><?= htmlspecialchars($note->summary) ?></summary>
<?php endif; ?>
- <div class="content">
+ <div class="content" lang="<?= $note->language ?>">
<?= $note->getBestContentAsHtml() ?>
</div>