From 46163b9652d1fbd645c2ed896f3073ad9b751fa9 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Sun, 8 Jan 2017 17:50:22 +0100 Subject: [PATCH] Fix: download buttons have no target --- _includes/download.html | 6 +++--- _includes/downloadButton.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/download.html b/_includes/download.html index 4d2d62a0..ca9d2bcd 100644 --- a/_includes/download.html +++ b/_includes/download.html @@ -30,7 +30,7 @@ {% assign currentReleaseTitle = 'Vocaluxe ' | append: currentReleaseData[1] %} {% assign currentReleaseOs = currentReleaseData[2] %} {% assign currentReleaseArch = currentReleaseData[3] %} - {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} {% endfor %} {% else %} @@ -50,7 +50,7 @@ {% assign currentReleaseTitle = 'Vocaluxe ' | append: release_pre.name %} {% assign currentReleaseOs = currentReleaseData[2] %} {% assign currentReleaseArch = currentReleaseData[3] %} - {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} {% endfor %} {% else %} @@ -70,7 +70,7 @@ {% assign currentReleaseTitle = 'Vocaluxe ' | append: release_stable.name %} {% assign currentReleaseOs = currentReleaseData[2] | downcase %} {% assign currentReleaseArch = currentReleaseData[3] %} - {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch %} + {% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %} {% endfor %} {% else %} diff --git a/_includes/downloadButton.html b/_includes/downloadButton.html index 79d8e9fc..394c6283 100644 --- a/_includes/downloadButton.html +++ b/_includes/downloadButton.html @@ -1,4 +1,4 @@ - + {% if include.os == "linux" %} {% else %}