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

github.com/dewittn/hugo-html5up-alpha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/gallery.html')
-rw-r--r--layouts/shortcodes/gallery.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html
new file mode 100644
index 0000000..4ac7e69
--- /dev/null
+++ b/layouts/shortcodes/gallery.html
@@ -0,0 +1,7 @@
+<div class="box alt">
+ <div class="row gtr-50 gtr-uniform">
+ {{ range $.Page.Resources.ByType "image" }}
+ <div class="col-4"><span class="image fit"><img src="{{ .Permalink }}" alt="" /></span></div>
+ {{ end }}
+ </div>
+</div> \ No newline at end of file