mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-23 21:32:20 +00:00
1 line
351 B
JSON
1 line
351 B
JSON
|
{{ $releases := where .Site.RegularPages "Section" "releases" }}{{ $stable := where $releases "Params.prerelease" false }}{{ $latest := index $releases 0 }}{{ $latest_stable := index $stable 0 }}{{ dict "stable" (dict "name" $latest_stable.Title "url" $latest_stable.Permalink) "latest" (dict "name" $latest.Title "url" $latest.Permalink) | jsonify }}
|