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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index d7172ea..566fdf7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -42,6 +42,17 @@
</ul>
{{ end }}
*/}}
+{{/*
+- "dir" .Params.images_directory
+ => if not defined: "images"
+- "static" .Params.images_static
+ => if not defined: N/A
+- "thumb" .Params.images_thumb_suffix
+ => if not defined: N/A
+...
+*/}}
+{{ partial "gallery.html" (dict "page" . "dir" "images") }}
+{{ partial "load-photoswipe.html" (dict "page" .) }}
{{ end }}
{{ define "lists" }}