aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-04-02 11:09:31 +0200
committerAlex Legler <alex@a3li.li>2015-04-02 11:09:31 +0200
commitb0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef (patch)
treeae0ac2aedd349e4e5757200b5017e12f9a2b5b36 /_includes/partials/download-link.html
downloadwww-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.gz
www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.bz2
www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.zip
Initial version
Diffstat (limited to '_includes/partials/download-link.html')
-rw-r--r--_includes/partials/download-link.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/partials/download-link.html b/_includes/partials/download-link.html
new file mode 100644
index 0000000..14a2939
--- /dev/null
+++ b/_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