]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docsref.html: move to variable
authorXhmikosR <xhmikosr@gmail.com>
Wed, 6 Mar 2024 06:09:35 +0000 (08:09 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 6 Mar 2024 13:50:18 +0000 (15:50 +0200)
site/layouts/shortcodes/docsref.html

index 2379de2b12e1d43eed7736962efed159814d70b6..06523d859d0659d92efb9371d2e6fe245ff513e0 100644 (file)
@@ -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 -}}