diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 20:47:33 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 20:47:33 +0800 |
commit | 7c008d4f16acaeb826f82d402772288f729e6e54 (patch) | |
tree | 62db0810c5b1ffe96703429bea2481981ec6e60f /templates/repo_index.html.tmpl | |
parent | repo_log: Fix anchor (diff) | |
download | forge-7c008d4f16acaeb826f82d402772288f729e6e54.tar.gz forge-7c008d4f16acaeb826f82d402772288f729e6e54.tar.zst forge-7c008d4f16acaeb826f82d402772288f729e6e54.zip |
repo_index: Add clone instructions
Diffstat (limited to 'templates/repo_index.html.tmpl')
-rw-r--r-- | templates/repo_index.html.tmpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index de2d1da..6bc3253 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -9,6 +9,21 @@ <header> {{ template "repo_header" . }} </header> + <div class="padding-wrapper"> + <table id="repo-info-table"> + <thead> + <tr class="title-row"> + <th colspan="2">Repo Info</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">Clone</th> + <td><code>git clone {{ .clone_url }}</code></td> + </tr> + </tbody> + </table> + </div> <div class="padding-wrapper scroll"> <input id="toggle-table-recent-commits" type="checkbox" class="toggle-table-off" /> <table id="recent-commits" class="wide"> |