mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-12-21 23:12:19 +00:00
This commit is contained in:
parent
2e015ddbb4
commit
3eabea02c5
3 changed files with 66 additions and 0 deletions
28
content/releases/v3.3.1.md
Normal file
28
content/releases/v3.3.1.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
tag: v3.3.1
|
||||
title: v3.3.1
|
||||
date: 2023-11-12T02:01:35.286Z
|
||||
prerelease: false
|
||||
downloads:
|
||||
- target: Windows 64bit
|
||||
url: https://downloads.strimertul.stream/v3.3.1/strimertul.exe
|
||||
- target: Linux amd64
|
||||
url: https://downloads.strimertul.stream/v3.3.1/strimertul-amd64
|
||||
- target: Linux arm64
|
||||
url: https://downloads.strimertul.stream/v3.3.1/strimertul-arm64
|
||||
---
|
||||
|
||||
The strimertül project is moving off of GitHub, so I need a small release to update the update checker since all releases are now gonna live on the website, sorry for the inconvenience!
|
||||
|
||||
## Changelog
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated Kilovolt with a new websocket library
|
||||
- Releases have been moved so the update checker now uses a new endpoint
|
||||
|
||||
### Fixed
|
||||
|
||||
- strimertul now builds on linux/arm64
|
||||
|
||||
{{< release-dl "https://downloads.strimertul.stream/v3.3.1/" >}}
|
31
layouts/shortcodes/release-dl.html
Normal file
31
layouts/shortcodes/release-dl.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{ $url := .Get 0 }}
|
||||
{{ $files := getJSON $url }}
|
||||
{{ with .Page.Params.downloads }}
|
||||
<h2>Downloads</h2>
|
||||
<table class="downloads">
|
||||
<tbody>
|
||||
{{ range . }}
|
||||
{{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }}
|
||||
{{ $record := where $files "name" $filename | first 1 }}
|
||||
{{ $target := .target }}
|
||||
{{ range $record }}
|
||||
<tr>
|
||||
<th>{{ $target }}</th>
|
||||
<td>
|
||||
<a href="{{ .url }}"
|
||||
>{{ .name }} ({{ printf "%.2f" (div .size 1e6) }} MiB)</a
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
{{ else }}
|
||||
<tr>
|
||||
<th>{{ .target }}</th>
|
||||
<td>
|
||||
<a href="{{ .url }}">{{ .name }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
{{ end }}
|
|
@ -23,6 +23,13 @@
|
|||
border-radius: 10px;
|
||||
background-color: $yellow9;
|
||||
}
|
||||
|
||||
table.downloads {
|
||||
th {
|
||||
text-align: left;
|
||||
color: $gray11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.release-item {
|
||||
|
|
Loading…
Reference in a new issue