From 7132094f28ca2dc08c32f207ade9c63a28952115 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 25 Jan 2026 16:27:48 -0500 Subject: Repository page with info --- views/repo.eta | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 views/repo.eta (limited to 'views/repo.eta') diff --git a/views/repo.eta b/views/repo.eta new file mode 100644 index 0000000..0b345df --- /dev/null +++ b/views/repo.eta @@ -0,0 +1,23 @@ +<% layout("./layout") %> + +<% if (it.info) { %> +
+ <% if (it.info.description) { %> +
<%= it.info.description %>
+ <% } %> + <% if (it.info.website) { %> +
<%= it.info.website %>
+ <% } %> + <% if (it.info.stars) { %> + ★ <%= it.info.stars %> + <% } %> + <% if (it.info.watchers) { %> + 👁 <%= it.info.watchers %> + <% } %> + <% if (it.info.forks) { %> + 🔀 <%= it.info.forks %> + <% } %> +
+<% } %> + +<%~ include("./_tree", it) %> -- cgit v1.3.1