File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change 18
18
{{ errorf "[%s] %q not found in %q" site.Language.Lang $fileDir.File $bundlePath }}
19
19
{{ end }}
20
20
{{ with $.Scratch.Get "content" }}
21
- < table class ="includecode " id ="{{ $file | anchorize }} ">
22
- < thead >
23
- < tr >
24
- < th >
25
- {{ with $ghlink }}< a href ="{{ . }} " download ="{{ $file }} "> {{ end }}
26
- < code > {{ $file }}</ code >
27
- {{ if $ghlink }}</ a > {{ end }}
28
- < img src ="{{ "images /copycode.svg" | relURL }}" style="max-height:24px; cursor: pointer " onclick ="copyCode('{{ $file | anchorize }}') " title ="Copy {{ $file }} to clipboard ">
29
- </ th >
30
- </ tr >
31
- </ thead >
32
- < tbody >
33
- < tr >
34
- < td > {{ highlight . $codelang "" }} </ td >
35
- </ tr >
36
- </ tbody >
37
- </ table >
38
- {{ end }}
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 ">
26
+ </ div >
27
+ {{ highlight . $codelang "" }}
28
+ </ div >
29
+ {{- end -}}
You can’t perform that action at this time.
0 commit comments