From c3e55377e4c58192432bbc327ddadc5ffd78875a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 25 Sep 2020 18:10:07 +0200 Subject: [PATCH] Make the latest API reference page the canonical URL We host multiple versions of the API reference. While older versions of the API are still supported by the latest engine release, users should generally refer to the latest version of the API. This patch adds a "canonical" meta-tag to the API reference pages, and points it to the latest version of the API. Note that there's also a /engine/api/latest/ page, but I didn't pick that URL, because it's a redirect to `/engine/api/v/`, which Google probably doesn't like. Signed-off-by: Sebastiaan van Stijn --- _layouts/engine-api.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_layouts/engine-api.html b/_layouts/engine-api.html index c21bc4ec82..68feca4ed1 100644 --- a/_layouts/engine-api.html +++ b/_layouts/engine-api.html @@ -12,6 +12,8 @@ + +