From ba32f0719bb899e7b6e6777a1d6be182db237c26 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:58:25 +0200 Subject: [PATCH] site: fix "latest" engine api sidebar link Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/reference/api/engine/latest.md | 4 ++-- layouts/partials/sidebar/sections.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/reference/api/engine/latest.md b/content/reference/api/engine/latest.md index 1c69fe44fd..5f69859b14 100644 --- a/content/reference/api/engine/latest.md +++ b/content/reference/api/engine/latest.md @@ -1,9 +1,9 @@ --- build: render: never -title: Latest (v{{< param latest_engine_api_version >}}) +title: Latest params: sidebar: - goto: "/reference/api/engine/version/v{{< param latest_engine_api_version >}}" + goto: /reference/api/engine/latest/ weight: 20 --- diff --git a/layouts/partials/sidebar/sections.html b/layouts/partials/sidebar/sections.html index 693ebb4fcb..78a9ae0951 100644 --- a/layouts/partials/sidebar/sections.html +++ b/layouts/partials/sidebar/sections.html @@ -62,10 +62,10 @@ {{ end }} {{ define "renderSingle" }} - {{- if .Params.goto }} + {{- if .Params.sidebar.goto }}