From 0e4d875d156f21d1475957ffa88c67d9cc65903f Mon Sep 17 00:00:00 2001 From: Stephan Renatus Date: Wed, 30 Mar 2022 21:42:21 +0200 Subject: [PATCH] website: fix community site (#4522) * remove hugo templating This page doesn't go through hugo at all, so these things would end up on the website. A quick fix is reverting the bits that added the templating. The downside is that local dev and PR previews will link to /docs/latest/ecosystem, which doesn't exist there. * link Documentation and Download to /docs For /docs/ (not /docs/latest) we have a redirect in local dev and PR preview mode: /docs -> /docs/edge so this will be a little less broken: only ecosystem is a 404 link on the preview. Signed-off-by: Stephan Renatus --- docs/website/static/community.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/website/static/community.html b/docs/website/static/community.html index c6b0703a35..3fb925e462 100644 --- a/docs/website/static/community.html +++ b/docs/website/static/community.html @@ -1,7 +1,3 @@ -{{- $latest := "latest" -}} -{{- if eq (len site.Data.releases) 1 -}} -{{- $latest = "edge" -}} -{{- end -}} @@ -42,13 +38,13 @@