A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
55
fork

Configure Feed

Select the types of activity you want to include in your feed.

always link to post

authored by

Pascal Hertleif and committed by
Tangled
00211366 41f1f90e

+8 -12
+8 -12
packages/cli/src/components/sequoia-comments.js
··· 260 260 white-space: nowrap; 261 261 } 262 262 263 + .sequoia-comment-handle::after { 264 + content: "·"; 265 + margin-left: 0.5rem; 266 + } 267 + 263 268 .sequoia-comment-time { 264 269 font-size: 0.875rem; 265 270 color: var(--sequoia-secondary-color, #6b7280); 266 271 flex-shrink: 0; 267 - } 268 - 269 - .sequoia-comment-time::before { 270 - content: "·"; 271 - margin-right: 0.5rem; 272 272 } 273 273 274 274 .sequoia-comment-text { ··· 973 973 974 974 const quotesHtml = quotes 975 975 .map((post) => { 976 - const quotePostUrl = buildBskyAppUrl(post.uri); 977 - return `<div class="sequoia-thread">${this.renderComment(post, false, 0, quotePostUrl)}</div>`; 976 + return `<div class="sequoia-thread">${this.renderComment(post, false, 0)}</div>`; 978 977 }) 979 978 .join(""); 980 979 ··· 993 992 * @param {any} post - Post data 994 993 * @param {boolean} showThreadLine - Whether to show the connecting thread line 995 994 * @param {number} _index - Index in the flattened thread (0 = top-level) 996 - * @param {string|null} postUrl - Optional URL to link the timestamp to (used for quote posts) 997 995 */ 998 - renderComment(post, showThreadLine = false, _index = 0, postUrl = null) { 996 + renderComment(post, showThreadLine = false, _index = 0) { 999 997 const author = post.author; 1000 998 const displayName = author.displayName || author.handle; 1001 999 const avatarHtml = author.avatar ··· 1005 1003 const profileUrl = `https://bsky.app/profile/${author.did}`; 1006 1004 const textHtml = renderTextWithFacets(post.record.text, post.record.facets); 1007 1005 const timeAgo = formatRelativeTime(post.record.createdAt); 1008 - const timeHtml = postUrl 1009 - ? `<a href="${escapeHtml(postUrl)}" target="_blank" rel="noopener noreferrer" class="sequoia-comment-time">${timeAgo}</a>` 1010 - : `<span class="sequoia-comment-time">${timeAgo}</span>`; 1006 + const timeHtml = `<a href="${escapeHtml(buildBskyAppUrl(post.uri))}" target="_blank" rel="noopener noreferrer" class="sequoia-comment-time">${timeAgo}</a>`; 1011 1007 const threadLineHtml = showThreadLine 1012 1008 ? '<div class="sequoia-thread-line"></div>' 1013 1009 : "";