From 21310d0366c0f21e73c1f4f78d38370edfb59445 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Tue, 11 Aug 2026 17:41:01 -0400 Subject: Read the About box and latest release from JSON GitHub rebuilt the repository sidebar, so the selectors parseRepoInfo used matched nothing and the About box rendered empty. Everything but the latest release is in the page's embedded payload as sidebarAbout; the latest release is only in the _sidebar JSON already fetched for languages, so it arrives with that fragment and is moved beside the release count. --- cgithub/views/repo.eta | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cgithub/views/repo.eta') diff --git a/cgithub/views/repo.eta b/cgithub/views/repo.eta index 1bff97f..5dc6beb 100644 --- a/cgithub/views/repo.eta +++ b/cgithub/views/repo.eta @@ -17,19 +17,13 @@ <% if (it.info.numReleases) { %>
<%= it.info.numReleases %> releases - <% if (it.info.latestReleaseTag) { %> - (<%= it.info.latestReleaseTag %> - <% if (it.info.latestReleaseDate) { %> - - <% } %> - ) - <% } %> +
<% } %> <% } %> -
+
  • …
-- cgit v1.3.1