From af0b336cdf9e7cd81e706758d8a74623f4e33140 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 16:35:26 +0800 Subject: repo_index: Link to repo log --- handle_repo_log.go | 1 + templates/repo_index.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/handle_repo_log.go b/handle_repo_log.go index 88b1f06..6a2d8bb 100644 --- a/handle_repo_log.go +++ b/handle_repo_log.go @@ -6,6 +6,7 @@ import ( "github.com/go-git/go-git/v5/plumbing" ) +// TODO: I probably shouldn't include *all* commitsh here... func handle_repo_log(w http.ResponseWriter, r *http.Request) { data := make(map[string]any) // TODO: Sanitize path values diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 2cc3a84..7c5422d 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -10,7 +10,7 @@ - + -- cgit v1.2.3
Recent CommitsRecent Commits (see all)
ID