Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/output.html')
-rw-r--r--layouts/shortcodes/output.html8
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