diff --git a/config.toml b/config.toml index e583375..c5a927d 100644 --- a/config.toml +++ b/config.toml @@ -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' \ No newline at end of file +theme = 'strimertul' diff --git a/content/update.md b/content/update.md new file mode 100644 index 0000000..91cc4eb --- /dev/null +++ b/content/update.md @@ -0,0 +1,6 @@ +--- +outputs: + - json +layout: update +url: /update.json +--- \ No newline at end of file diff --git a/layouts/_default/update.json b/layouts/_default/update.json new file mode 100644 index 0000000..a4df0ca --- /dev/null +++ b/layouts/_default/update.json @@ -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 }} \ No newline at end of file