summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/includes/partials/download-link.html')
-rw-r--r--python/templates/includes/partials/download-link.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/templates/includes/partials/download-link.html b/python/templates/includes/partials/download-link.html
new file mode 100644
index 0000000..14a2939
--- /dev/null
+++ b/python/templates/includes/partials/download-link.html
@@ -0,0 +1,4 @@
+{% capture url %}{{ include.arch }}/autobuilds/{{ site.data.downloads[include.arch][include.type][include.id].filename }}{% endcapture %}
+{% assign date = site.data.downloads[include.arch][include.type][include.id].date %}
+{% assign size = site.data.downloads[include.arch][include.type][include.id].size %}
+{% include partials/download-link-raw.html title=include.title tag=include.tag url=url urlprefix='http://distfiles.gentoo.org/releases/' date=date size=size %} \ No newline at end of file