diff options
Diffstat (limited to 'templates/note.php')
| -rw-r--r-- | templates/note.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/note.php b/templates/note.php new file mode 100644 index 0000000..c3ec9fd --- /dev/null +++ b/templates/note.php @@ -0,0 +1,11 @@ +<article class="note"> + <img class="authorAvatar" src="<?= $note->author->avatar ?>"> + <div> + <a class="authorName" <?= isset($note->author->homepage) ? 'href="' . $note->author->homepage . '"' : '' ?>> + <?= $note->author->displayName ?> + </a> + <div class="postContent"> + <?= $note->plainContent ?> + </div> + </div> +</article>
\ No newline at end of file |
