From 84aa3c7d463b6030e338441978f4ff67ee28f140 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 12 Oct 2020 18:49:33 +0300 Subject: [PATCH] Make Netlify happy --- website/src/pages/versions.js | 45 +++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/website/src/pages/versions.js b/website/src/pages/versions.js index e0b499e2ebd6..2093d5c664c7 100644 --- a/website/src/pages/versions.js +++ b/website/src/pages/versions.js @@ -30,27 +30,30 @@ function Version() { description="Docusaurus 2 Versions page listing all documented site versions">

Docusaurus documentation versions

-
-

Current version (Stable)

-

- Here you can find the documentation for current released version. -

- - - - - - - - -
{stableVersion.name} - Documentation - - - Release Notes - -
-
+ + {stableVersion && ( +
+

Current version (Stable)

+

+ Here you can find the documentation for current released version. +

+ + + + + + + + +
{stableVersion.name} + Documentation + + + Release Notes + +
+
+ )}

Next version (Unreleased)