From 37aa28f1465cfdd26a58c6dd5b752141ea876cde Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 25 Jan 2026 18:51:27 -0500 Subject: Styling --- cgithub/views/layout.eta | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'cgithub/views/layout.eta') diff --git a/cgithub/views/layout.eta b/cgithub/views/layout.eta index 982f8c0..a191301 100644 --- a/cgithub/views/layout.eta +++ b/cgithub/views/layout.eta @@ -2,16 +2,16 @@ - <%= it.repo.owner %>/<%= it.repo.name %> - <%= it.path || 'root' %> + <%= it.repo.owner %>/<%= it.repo.name %> - <%= it.path || '/' %>
-

<%= it.repo.owner %>/<%= it.repo.name %>

-
branch <%= it.branch %>
+
<%= it.repo.owner %>/<%= it.repo.name %>
+
branch <%= it.branch %>
<% if (it.path) { %> -
- path: root<% + + (top)<% const pathParts = it.path.split('/').filter(p => p); let currentPath = ''; for (let i = 0; i < pathParts.length; i++) { @@ -24,13 +24,7 @@ %>/<%= part %><% } } %> -
- <% } %> - <% if (it.language) { %> -
language: <%= it.language %>
- <% } %> - <% if (it.size !== undefined) { %> -
size: <%= it.size %> bytes
+ <% } %>
-- cgit v1.3.1