mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-25 11:16:02 +10:00
added comments
This commit is contained in:
@@ -134,6 +134,7 @@ function createPost(t) {
|
||||
<div class="post-actions">
|
||||
<button class="action-btn like">♥ ${t.likes}</button>
|
||||
<button class="action-btn repost">⟲ ${t.reposts}</button>
|
||||
<button class="action-btn comment">» ${t.comments}</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -541,6 +542,7 @@ async function fetchPosts() {
|
||||
text: item.post.record.text,
|
||||
likes: item.post.likeCount || 0,
|
||||
reposts: item.post.repostCount || 0,
|
||||
comments: item.post.replyCount || 0,
|
||||
url: `https://bsky.app/profile/${item.post.author.handle}/post/${item.post.uri.split("/").pop()}`,
|
||||
embed: embeds
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user