diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-11-01 11:28:30 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-11-01 21:06:35 +0100 |
commit | 1d18eb0574a57c3e9f468659d076a666a3dd76f2 (patch) | |
tree | 8536aa6e8e2fc496b3b2d7b66a2e5f0110e625a6 /tpl/tplimpl/embedded/templates | |
parent | 33a7b36fd42ee31dd79115ec6639bed24247332f (diff) |
Add file (line/col) info to ref/relref errors
See #5371
Diffstat (limited to 'tpl/tplimpl/embedded/templates')
-rw-r--r-- | tpl/tplimpl/embedded/templates/shortcodes/ref.html | 2 | ||||
-rw-r--r-- | tpl/tplimpl/embedded/templates/shortcodes/relref.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tplimpl/embedded/templates/shortcodes/ref.html b/tpl/tplimpl/embedded/templates/shortcodes/ref.html index c4d9f1d16..cd9c3defc 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/ref.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/ref.html @@ -1 +1 @@ -{{ ref .Page .Params }}
\ No newline at end of file +{{ ref . .Params }}
\ No newline at end of file diff --git a/tpl/tplimpl/embedded/templates/shortcodes/relref.html b/tpl/tplimpl/embedded/templates/shortcodes/relref.html index d3a31ea44..82005bd82 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/relref.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/relref.html @@ -1 +1 @@ -{{ relref .Page .Params }}
\ No newline at end of file +{{ relref . .Params }}
\ No newline at end of file |