From f767015b4abfd669a7dad2170b864cd309ed52c0 Mon Sep 17 00:00:00 2001 From: hasheddan Date: Mon, 15 Feb 2021 16:13:28 -0600 Subject: [PATCH] Force latestVersion to v1.0 during v1.1 freeze We hardcode v1.0 as latestVersion during v1.1 freeze so that the new branch will not be the default shown to users visiting the site. Signed-off-by: hasheddan --- _includes/values.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/values.inc b/_includes/values.inc index a34a4d93..b64d64f9 100644 --- a/_includes/values.inc +++ b/_includes/values.inc @@ -7,5 +7,5 @@ {% assign podcastLink = "https://www.youtube.com/playlist?list=PL510POnNVaaYFuK-B_SIUrpIonCtLVOzT" %} {% assign blogLink = "https://blog.crossplane.io/" %} {% assign communityMeetingLink = "https://github.com/crossplane/crossplane/#get-involved" %} -{% assign latestDocs = site.data.versions[0].path | append: '/' | relative_url %} +{% assign latestDocs = "/docs/v1.0" | append: '/' | relative_url %} {% assign cncfLink = "https://www.cncf.io/" %}