diff --git a/assets/js/versions.template.js b/assets/js/versions.template.js index b45b346e..c419454e 100644 --- a/assets/js/versions.template.js +++ b/assets/js/versions.template.js @@ -86,7 +86,7 @@ function appendVersion(parent, name, url) { // versions.json from our own resources. Otherwise, we fall back to loading it // from /unstable/versions.json, assuming we are on the spec.matrix.org deployment. const url = currentVersion === "unstable" - ? '{{ "/" | relURL }}versions.json' + ? '{{ .Site.Home.Permalink }}versions.json' : "/unstable/versions.json"; fetch(url) diff --git a/changelogs/internal/newsfragments/2259.clarification b/changelogs/internal/newsfragments/2259.clarification new file mode 100644 index 00000000..468f55d5 --- /dev/null +++ b/changelogs/internal/newsfragments/2259.clarification @@ -0,0 +1 @@ +Add version picker in the navbar.