From 85955f4cd15425cc369459a58f2ca613749f7fb9 Mon Sep 17 00:00:00 2001 From: biroder <107300789+biroder@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:15:52 +0000 Subject: [PATCH] Add fetching info about nightly builds Remove Google Analytics script as it no longer supported and will be removed in future version of Hugo. --- config.toml | 25 ++++++------ layouts/index.html | 60 +++++++++++++++++++++++------ layouts/partials/head_includes.html | 2 - 3 files changed, 62 insertions(+), 25 deletions(-) diff --git a/config.toml b/config.toml index cdbf1b2..4b634be 100644 --- a/config.toml +++ b/config.toml @@ -8,35 +8,36 @@ disableKinds = ["taxonomy", "RSS"] ignoreErrors = ["error-disable-taxonomy"] [params] +[params.metadata.nightly] +link = "https://raw.githubusercontent.com/doukutsu-rs/metadata/master/metadata/nightly.json" + [[params.downloads_nightly]] platform = "Windows x64" -job_name = "windows-x64" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_windows-x64.zip" +job_name = "windows-x86_64" +link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_windows-x64.zip" [[params.downloads_nightly]] platform = "Windows x32" -job_name = "windows-x32" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_windows-x32.zip" +job_name = "windows-i686" +link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_windows-x32.zip" [[params.downloads_nightly]] platform = "Linux x64" -job_name = "linux-x64" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_linux-x64.zip" +job_name = "linux-x86_64" +link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_linux-x64.zip" [[params.downloads_nightly]] platform = "Android ARM64" -job_name = "android" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_android.zip" [[params.downloads_nightly]] platform = "macOS x64 (Intel Macs)" -job_name = "mac-x64" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_mac-x64.zip" +job_name = "macos-x64" +link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_mac-x64.zip" [[params.downloads_nightly]] platform = "macOS ARM64 (M1 Macs)" -job_name = "mac-arm64" -english_link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_mac-arm64.zip" +job_name = "macos-arm64" +link = "https://nightly.link/doukutsu-rs/doukutsu-rs/workflows/ci/master/doukutsu-rs_mac-arm64.zip" [privacy] diff --git a/layouts/index.html b/layouts/index.html index 2029e08..d8291a1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -77,7 +77,6 @@