mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 11:12:07 -05:00
4c220c4ac2
Fixes #3709
11 lines
No EOL
318 B
HTML
11 lines
No EOL
318 B
HTML
{{$file := .Get "file"}}
|
|
{{$icon := index (split $file ".") 1 }}
|
|
<div class="code" id="{{$file | urlize}}">
|
|
<div class="filename" title="{{$file}}">{{$file}}</div>
|
|
<!-- <div class="code-icon">
|
|
<i class="icon-{{$icon}}"></i>
|
|
</div> -->
|
|
<div class="code-copy-content output-content">
|
|
{{- .Inner -}}
|
|
</div>
|
|
</div> |