From 631bc70d94cd12d0432cca1a220a3642eea6976a Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 28 Jan 2026 15:10:00 -0500 Subject: Image support --- cgithub/views/blob.eta | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cgithub/views/blob.eta') diff --git a/cgithub/views/blob.eta b/cgithub/views/blob.eta index 4972209..ea07059 100644 --- a/cgithub/views/blob.eta +++ b/cgithub/views/blob.eta @@ -12,7 +12,9 @@ -<% if (it.htmlContent) { %> +<% if (it.image) { %> +
+<% } else if (it.htmlContent) { %>
<%~ it.htmlContent %>
<% } else if (it.htmlLines) { %>
<%~ it.htmlLines.join("\n") %>
-- cgit v1.3.1