From d964566b7d2c62adee90ca1d0dc22ef42bb4c50d Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sun, 31 Dec 2023 11:25:52 +0000 Subject: [PATCH] Fix missing download link on tags table --- templates/repo/commit.html | 4 ++-- templates/repo/tag.html | 4 ++-- templates/repo/macros/refs.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/repo/commit.html b/templates/repo/commit.html index 1b666c0..fc0d5e6 100644 --- a/templates/repo/commit.html +++ a/templates/repo/commit.html @@ -36,8 +36,8 @@ {%- endfor %} - download (tar.gz) -
{{ id.as_deref().unwrap_or(dl_branch.as_ref()) }}
+ download +
{{ id.as_deref().unwrap_or(dl_branch.as_ref()) }}.tar.gz
diff --git a/templates/repo/tag.html b/templates/repo/tag.html index bf55e8a..bbda0d6 100644 --- a/templates/repo/tag.html +++ a/templates/repo/tag.html @@ -32,8 +32,8 @@ {% endif %} - download (tar.gz) -
{{ tag.name }}
+ download +
{{ tag.name }}.tar.gz
diff --git a/templates/repo/macros/refs.html b/templates/repo/macros/refs.html index 926eabf..705697f 100644 --- a/templates/repo/macros/refs.html +++ a/templates/repo/macros/refs.html @@ -41,7 +41,7 @@ {% for (name, tag) in tags -%} {{- name -}} - + {{- name -}}.tar.gz {% if let Some(tagger) = tag.get().tagger -%} -- rgit 0.1.3