diff options
author | Derek Severin <severinderek@gmail.com> | 2019-02-10 13:53:06 +0300 |
---|---|---|
committer | Derek Severin <severinderek@gmail.com> | 2019-02-10 13:53:06 +0300 |
commit | 43e5f5971006d59b58f81879cdc01dd9bbda03e7 (patch) | |
tree | 975dae72607acecd2b8f61d4029722187eab8a5c /layouts/_default/single.html | |
parent | efbd6a27f869a7b405479e1f2db6a7529cd19652 (diff) |
Image gallery: Added caption & copyright handling
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b4d3641..7fa2910 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -44,7 +44,9 @@ */}} {{ $images_directory := .Params.images_directory | default "images" }} {{ $images_static := .Params.images_static | default "false" }} - {{ partial "gallery.html" (dict "page" . "dir" $images_directory "static" $images_static) }} + {{ $images_copyright := .Params.images_copyright }} + {{ $images_params := .Params.images }} + {{ partial "gallery.html" (dict "page" . "dir" $images_directory "static" $images_static "images_params" $images_params "images_copyright" $images_copyright) }} {{ partial "load-photoswipe.html" (dict "page" .) }} {{ end }} |