Skip to content

Commit

Permalink
Add release 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Dec 27, 2023
1 parent 68398d1 commit 6e965b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ languageCode = "en-us"
title = "Goxel 3D Voxel Editor"

[params]
lastReleaseVersion = "0.12.0"
lastReleaseVersion = "0.13.0"

[markup]
[markup.goldmark]
Expand Down
9 changes: 6 additions & 3 deletions content/download/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ 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 os="windows" >}}"
<a href="{{< download-link suffix="windows.zip" >}}"
class="button is-large is-link">Download for Windows</a>

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

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

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

## iOS

The last iOS version is available from iTune.
Expand Down
6 changes: 2 additions & 4 deletions layouts/shortcodes/download-link.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

{{ $v := .Site.Params.lastReleaseVersion }}
{{ $os := .Get "os" }}
{{ $suffix := .Get "suffix" }}
{{ $base := "https://github.com/guillaumechereau/goxel/releases/download" }}
{{ $ext := ".zip" }}
{{ if eq $os "linux" }} {{ $ext = "" }} {{ end }}

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

0 comments on commit 6e965b0

Please sign in to comment.