mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-21 21:22:21 +00:00
add json file for version check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
828e2a89c0
commit
2e015ddbb4
3 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
baseURL = 'https://strimertul.github.io/'
|
||||
baseURL = 'https://strimertul.stream/'
|
||||
languageCode = 'en-us'
|
||||
title = 'strimertül | Free & open source broadcasting suite'
|
||||
theme = 'strimertul'
|
||||
theme = 'strimertul'
|
||||
|
|
6
content/update.md
Normal file
6
content/update.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
outputs:
|
||||
- json
|
||||
layout: update
|
||||
url: /update.json
|
||||
---
|
1
layouts/_default/update.json
Normal file
1
layouts/_default/update.json
Normal file
|
@ -0,0 +1 @@
|
|||
{{ $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 }}
|
Loading…
Reference in a new issue