diff options
Diffstat (limited to 'layouts/shortcodes/output.html')
-rw-r--r-- | layouts/shortcodes/output.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/shortcodes/output.html b/layouts/shortcodes/output.html new file mode 100644 index 000000000..e51d284bb --- /dev/null +++ b/layouts/shortcodes/output.html @@ -0,0 +1,8 @@ +{{$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>
\ No newline at end of file |