diff options
Diffstat (limited to '')
-rw-r--r-- | handle_repo_log.go | 1 | ||||
-rw-r--r-- | templates/repo_index.html.tmpl | 2 |
2 files changed, 2 insertions, 1 deletions
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 @@ <table id="recent-commits"> <thead> <tr class="title-row"> - <th colspan="4">Recent Commits</th> + <th colspan="4">Recent Commits (<a href="log/{{ .ref }}/">see all</a>)</th> </tr> <tr> <th scope="col">ID</th> |