aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-03-06 08:09:35 +0200
committerXhmikosR <[email protected]>2024-03-06 15:50:18 +0200
commitb003fc78805954584e1ee364a4ad39d7c79e819a (patch)
treeacb0484905e2d6b83148cb2b5b0f063675db0f38
parent1baec29637844256e6bb52f6cf5fb96611ed3d0c (diff)
downloadbootstrap-b003fc78805954584e1ee364a4ad39d7c79e819a.tar.xz
bootstrap-b003fc78805954584e1ee364a4ad39d7c79e819a.zip
docsref.html: move to variable
-rw-r--r--site/layouts/shortcodes/docsref.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/site/layouts/shortcodes/docsref.html b/site/layouts/shortcodes/docsref.html
index 2379de2b1..06523d859 100644
--- a/site/layouts/shortcodes/docsref.html
+++ b/site/layouts/shortcodes/docsref.html
@@ -1 +1,2 @@
-{{- relref . ((path.Join "docs" $.Site.Params.docs_version (.Get 0)) | relURL) -}}
+{{- $pageToReference := path.Join "docs" $.Site.Params.docs_version (.Get 0) -}}
+{{- relref . $pageToReference | relURL -}}