File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 19
19
{{ end }}
20
20
{{ with $.Scratch.Get "content" }}
21
21
< div class ="highlight ">
22
- < div class ="includecode " style ="text-align: right " id ="{{- $file | anchorize -}} ">
23
- {{- with $ghlink -}}< a href ="{{ . }} " download ="{{ $file }} "> {{- end -}}
24
- < code > {{ $file }}</ code >
25
- {{ if $ghlink }}</ a > {{ end }}< img src ="{{ "images /copycode.svg" | relURL }}" style="max-height:24px; cursor: pointer " onclick ="copyCode('{{ $file | anchorize }}') " title ="Copy {{ $file }} to clipboard ">
22
+ < div class ="copy-code-icon " style ="text-align:right ">
23
+ {{ with $ghlink }}< a href ="{{ . }} " download ="{{ $file }} "> {{ end }}< code > {{ $file }}</ code >
24
+ {{ if $ghlink }}</ a > {{ end }}
25
+ < img src ="{{ "images /copycode.svg" | relURL }}" style="max-height:24px; cursor: pointer " onclick ="copyCode('{{ $file | anchorize }}') " title ="Copy {{ $file }} to clipboard ">
26
+ </ img >
27
+ </ div >
28
+ < div class ="includecode " id ="{{ $file | anchorize }} ">
29
+ {{ highlight . $codelang "" }}
26
30
</ div >
27
- {{ highlight . $codelang "" }}
28
31
</ div >
29
- {{- end - }}
32
+ {{ end }}
You can’t perform that action at this time.
0 commit comments