0431c76 / webui.mjs
diff --git a/webui.mjs b/webui.mjs
index 61e5ff2..981b296 100644
--- a/webui.mjs
+++ b/webui.mjs
@@ -118,7 +118,8 @@ at <a href="/commit/${escapeHtml(commit)}"><code>${escapeHtml(shortHash(commit))
${count > commits.length ? `<p>Showing ${commits.length} of ${count} commits.</p>` : ''}`
: `<p>${escapeHtml(text).replace(/\r\n?|\n/g, '<br>\n')}</p>`
return `<p><a href="?author=${encodeURIComponent(author)}"><code>${escapeHtml(shortHash(author))}</code></a>
-<a href="?post=${encodeURIComponent(id)}">${date}</a>${replyLink}</p>
+<a href="?post=${encodeURIComponent(id)}">${date}</a>
+<a href="/raw?post=${encodeURIComponent(id)}">Raw</a>${replyLink}</p>
${content}`
}
Git ยท Social feed