diff --git a/_includes/download-snapshot.html b/_includes/download-snapshot.html index 03973608f53e0fa1a06e6304dff68e794cf135b0..3d2c300b84a8d3ddf12dc5fa252866a48d7ed175 100644 --- a/_includes/download-snapshot.html +++ b/_includes/download-snapshot.html @@ -22,7 +22,7 @@ {% assign snapshot_files = (site.static_files | where: "snapshot", "windows-exe" | sort: 'modified_time') | reverse %} {% for snapshot in snapshot_files %} {% if snapshot.extname == ".exe" %} - <div class="download_row" onclick="document.location = '{{ snapshot.path }}'" onkeypress="document.location = '{{ snapshot.path }}'"> + <div class="download_row" onclick="document.location = 'http://eris.dynare.org/snapshot/windows/{{ snapshot.name }}'" onkeypress="document.location = 'http://eris.dynare.org/snapshot/windows/{{ snapshot.name }}'"> <div class="download_cell_left"><i class="icon-document-download"></i> {{ snapshot.modified_time | date: "%Y %b %d %R" }}</div> <div class="download_cell_right"><a href="#">{{ snapshot.name }}</a></div> </div> @@ -35,7 +35,7 @@ {% assign snapshot_files = (site.static_files | where: "snapshot", "windows-zip" | sort: 'modified_time') | reverse %} {% for snapshot in snapshot_files %} {% if snapshot.extname == ".zip" %} - <div class="download_row" onclick="document.location = '{{ snapshot.path }}'" onkeypress="document.location = '{{ snapshot.path }}'"> + <div class="download_row" onclick="document.location = 'http://eris.dynare.org/snapshot/windows-zip/{{ snapshot.name }}'" onkeypress="document.location = 'http://eris.dynare.org/snapshot-zip/windows/{{ snapshot.name }}'"> <div class="download_cell_left"><i class="icon-document-download"></i> {{ snapshot.modified_time | date: "%Y %b %d %R" }}</div> <div class="download_cell_right"><a href="#">{{ snapshot.name }}</a></div> </div> @@ -57,7 +57,7 @@ {% assign snapshot_files = (site.static_files | where: "snapshot", "macosx" | sort: 'modified_time') | reverse %} {% for snapshot in snapshot_files %} {% if snapshot.extname == ".zip" %} - <div class="download_row" onclick="document.location = '{{ snapshot.path }}'" onkeypress="document.location = '{{ snapshot.path }}'"> + <div class="download_row" onclick="document.location = 'http://eris.dynare.org/snapshot/macosx/{{ snapshot.name }}'" onkeypress="document.location = 'http://eris.dynare.org/snapshot/macosx/{{ snapshot.name }}'"> <div class="download_cell_left"><i class="icon-document-download"></i> {{ snapshot.modified_time | date: "%Y %b %d %R" }}</div> <div class="download_cell_right"><a href="#">{{ snapshot.name }}</a></div> </div> @@ -83,7 +83,7 @@ {% assign snapshot_files = (site.static_files | where: "snapshot", "source" | sort: 'modified_time') | reverse %} {% for snapshot in snapshot_files %} {% if snapshot.extname == ".xz" %} - <div class="download_row" onclick="document.location = '{{ snapshot.path }}'" onkeypress="document.location = '{{ snapshot.path }}'"> + <div class="download_row" onclick="document.location = 'http://eris.dynare.org/snapshot/source/{{ snapshot.name }}'" onkeypress="document.location = 'http://eris.dynare.org/snapshot/source/{{ snapshot.name }}'"> <div class="download_cell_left"><i class="icon-document-download"></i> {{ snapshot.modified_time | date: "%Y %b %d %R" }}</div> <div class="download_cell_right"><a href="#">{{ snapshot.name }}</a></div> </div>