Skip to content

Commit

Permalink
docsref.html: move to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 6, 2024
1 parent 09ca892 commit 1828f36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/layouts/shortcodes/docsref.html
Original file line number Diff line number Diff line change
@@ -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 -}}

0 comments on commit 1828f36

Please sign in to comment.