Skip to content
Snippets Groups Projects
Commit 0bc1e89b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr path in highlightfile.html

parent 42cf7476
No related branches found
No related tags found
2 merge requests!1543changes from r20.0,!1529correct webdocs
Pipeline #93954 passed
......@@ -7,7 +7,7 @@ Argument 1 = File path below /src/
{{- $lang := .Get "language" | default ("python") }}
{{- $opt := .Get "opt" | default ("linenos=table") }}
{{ $path := (printf "/py/auto/%s" $src) }}
{{ $path := (printf "/static/py/auto/%s" $src) }}
{{ $file := $path | readFile }}
{{ highlight (print $file) $lang $opt}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment