diff --git a/site/config.toml b/site/config.toml
index d1595f38..b41eff65 100644
--- a/site/config.toml
+++ b/site/config.toml
@@ -5,7 +5,7 @@ DefaultContentLanguage = "en"
theme = "shared-bulma-theme"
# Define how many objects appear per pagination.
-paginate = 10
+paginate = 20
[[menu.main]]
name = "about"
@@ -49,4 +49,4 @@ paginate = 10
[outputs]
home = [ "HTML", "RSS" ]
-section = [ "HTML", "JSON" ]
\ No newline at end of file
+section = [ "HTML" ]
\ No newline at end of file
diff --git a/site/content/downloads.md b/site/content/downloads.md
index 00532ec5..33f5091d 100644
--- a/site/content/downloads.md
+++ b/site/content/downloads.md
@@ -1,150 +1,12 @@
+++
title = "Downloads"
+layout = "downloads"
+++
-The nightly build of yuzu contains already reviewed and tested features. If you require support with the installation
- or use of yuzu, or you want to report bugs you should use this version. This version is still in development, so
- expect crashes and bugs.
+The nightly build of yuzu contains already reviewed and tested features. If you require support with the installation or use of yuzu, or you want to report bugs you should use this version.
+This version is still in development, so expect crashes and bugs.
-The canary build of yuzu is the same as our nightly builds, with additional features that are still waiting on review
- before making it into the official yuzu builds. If you believe you've found a bug, please retest on our nightly builds.
- This version is still in development, so expect crashes and bugs.
-
-
-
-
-
Nightly Build
- Last release was
-
-
-
There was a problem checking GitHub. Click the link below
- to view them directly.
-
-
-
-
-
-
Canary Build
- Last release was
-
-
-
There was a problem checking GitHub. Click the link below
- to view them directly.
-
-
-
-
+The canary build of yuzu is the same as our nightly builds, with additional features that are still waiting on review before making it into the official yuzu builds.
-
-
\ No newline at end of file
+If you believe you've found a bug, please retest on our nightly builds.
+This version is still in development, so expect crashes and bugs.
diff --git a/site/themes/shared-bulma-theme b/site/themes/shared-bulma-theme
index 2a3192a4..5a5f1273 160000
--- a/site/themes/shared-bulma-theme
+++ b/site/themes/shared-bulma-theme
@@ -1 +1 @@
-Subproject commit 2a3192a4679d4ce16e7715e381412d29115d66ee
+Subproject commit 5a5f12732d268add25d5b9c93deccfb30115b82b
diff --git a/src/js/downloads.js b/src/js/downloads.js
new file mode 100644
index 00000000..7bc1e20c
--- /dev/null
+++ b/src/js/downloads.js
@@ -0,0 +1,100 @@
+function releaseCallback(v, count, e) {
+ if (e.status !== 200 || e.responseText.length < 10) {
+ document.getElementById(`last-updated-${v}`).innerText = "never";
+ document.getElementById(`unavailable-${v}`).classList.remove("is-hidden");
+ document.getElementById(`downloads-${v}`).classList.add("is-hidden");
+ throw new Error(e.responseText);
+ }
+
+ var releases = JSON.parse(e.responseText);
+
+ document.getElementById(`last-updated-${v}`).innerText = moment(releases[0].published_at).fromNow();
+
+ for (var i = 0; i < releases.length; ++i) {
+ var release = releases[i];
+ var release_date = moment(release.published_at).fromNow();
+
+ var release_commit = release.assets[0].name.split('-').pop().trim().split('.')[0];
+ var release_commit_url = `https://github.com/yuzu-emu/yuzu-${v}/commit/${release_commit}`;
+
+ var release_title = '';
+ if (v == 'nightly') {
+ release_title = 'Nightly Build';
+ } else if (v == 'canary') {
+ release_title = 'Canary Build';
+ }
+
+ if (release_commit) {
+ release_title += ' - ' + release_commit;
+ }
+
+ var download_span = '';
+
+ release.assets.forEach(function (asset) {
+ if (asset.name.includes('nupkg')) return;
+ if (asset.name.includes('.7z')) return;
+ if (asset.name.includes('RELEASES')) return;
+
+ /* We only want to provide mingw builds on the downloads page. */
+ if (asset.name.includes('-msvc-')) return;
+
+ var env_icon = 'unknown';
+ if (asset.name.includes('windows')) env_icon = 'windows';
+ else if (asset.name.includes('exe')) env_icon = 'windows';
+ else if (asset.name.includes('osx')) env_icon = 'apple';
+ else if (asset.name.includes('linux')) env_icon = 'linux';
+
+ var download_url = `https://github.com/yuzu-emu/yuzu-${v}/releases/download/${release.tag_name}/${asset.name}`;
+
+ download_span += `
+
+
+
+
+
+
+ `;
+ });
+
+ /* Generate the link to the Github release. */
+ download_span += `
+
+
+
+
+
+
+
+ `;
+
+ // TODO: Add information on latest commit
+ document.getElementById(`downloads-${v}`).innerHTML +=
+ ``;
+ if (i + 1 >= count) { break; }
+ };
+}
+
+function getRelease(v, count = 3) {
+ var netReq = new XMLHttpRequest();
+ netReq.open("GET", `https://api.github.com/repos/yuzu-emu/yuzu-${v}/releases`);
+ netReq.onload = function () {
+ releaseCallback(v, count, this);
+ };
+ netReq.send();
+}
\ No newline at end of file
diff --git a/src/scss/yuzu/yuzu_after_derived.scss b/src/scss/yuzu/yuzu_after_derived.scss
index 8a617763..5ea533bf 100644
--- a/src/scss/yuzu/yuzu_after_derived.scss
+++ b/src/scss/yuzu/yuzu_after_derived.scss
@@ -17,5 +17,8 @@ $table-color: $white;
$link: #03a9f4;
+$pagination-color: $white;
+$pagination-hover-color: $grey;
+
$title-color: $white;
$subtitle-color: $white;
\ No newline at end of file