From 0c462d3112f437aca5dc4179dda6ea4074f4dc44 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Fri, 11 Oct 2024 15:28:43 +0200 Subject: [PATCH] No download link for "latest" --- index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.md b/index.md index eba728dcdb..dfa06a75a2 100644 --- a/index.md +++ b/index.md @@ -42,9 +42,11 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers download iteration {%- assign separator = ": " -%} {%- endif -%} +{%- if file.basename != "latest" -%} {{ separator }} [{{ file.basename | replace: "-", "‑" }}]({{ site.baseurl }}{{ file.path }}) {%- assign separator = ", " -%} {%- endif -%} +{%- endif -%} {%- endfor %} ## Overlay Specification