Skip to content

Commit

Permalink
Fix download links
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Jul 8, 2024
1 parent 10e3613 commit 390f3a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions content/download/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ The current stable version of Goxel for desktop is

[Read the release notes](https://github.com/guillaumechereau/goxel/releases/tag/v{{< current-version >}}).

<a href="{{< download-link suffix="windows.zip" >}}"
<a href="{{< download-link suffix="-windows.zip" >}}"
class="button is-large is-link">Download for Windows</a>

<a href="{{< download-link suffix="mac.zip" >}}"
<a href="{{< download-link suffix="-mac.zip" >}}"
class="button is-large is-link">Download for MacOS</a>

<a href="{{< download-link suffix="AppImage" >}}"
<a href="{{< download-link suffix=".AppImage" >}}"
class="button is-large is-link">Download for Linux AppImage</a>

## iOS
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/download-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
{{ $suffix := .Get "suffix" }}
{{ $base := "https://github.com/guillaumechereau/goxel/releases/download" }}

{{$base}}/v{{$v}}/goxel-{{$v}}-{{$suffix}}
{{$base}}/v{{$v}}/goxel-{{$v}}{{$suffix}}

0 comments on commit 390f3a0

Please sign in to comment.