mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
b9bd35d72e
git-subtree-dir: docs git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a
8 lines
No EOL
276 B
HTML
8 lines
No EOL
276 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-copy-content output-content">
|
|
<pre><code>{{- .Inner | string -}}</code></pre>
|
|
</div>
|
|
</div> |