From 4fd934f616b5b31e9c4a8201627285fb449c9fc1 Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com> Date: Fri, 25 Nov 2022 04:30:31 +0700 Subject: [PATCH] Fix abslangurl.md (#1919) Last missing closing highlighting markers break page layout. --- content/en/functions/abslangurl.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/functions/abslangurl.md b/content/en/functions/abslangurl.md index 11d540bde..2e1996f7e 100644 --- a/content/en/functions/abslangurl.md +++ b/content/en/functions/abslangurl.md @@ -55,6 +55,7 @@ With `baseURL = https://example.org/docs/` {{ absLangURL "/" }} → https://example.org/en/ {{ absLangURL "/articles" }} → https://example.org/en/articles {{ absLangURL "/style.css" }} → https://example.org/en/style.css +``` {{% note %}} The last three examples are not desirable in most situations. As a best practice, never include a leading slash when using this function.