docsref.html: move to variable

This commit is contained in:
XhmikosR 2024-03-06 08:09:35 +02:00
parent 1baec29637
commit b003fc7880
1 changed files with 2 additions and 1 deletions

View 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 -}}