output.html (318B)
1 {{$file := .Get "file"}} 2 {{$icon := index (split $file ".") 1 }} 3 <div class="code" id="{{$file | urlize}}"> 4 <div class="filename" title="{{$file}}">{{$file}}</div> 5 <!-- <div class="code-icon"> 6 <i class="icon-{{$icon}}"></i> 7 </div> --> 8 <div class="code-copy-content output-content"> 9 {{- .Inner -}} 10 </div> 11 </div>