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

github.com/it-gro/hugo-theme-w3css-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Grossniklaus <grossnik@kes>2018-06-20 08:13:19 +0300
committerBruno Grossniklaus <grossnik@kes>2018-06-20 08:13:19 +0300
commit9d33c2033aea2f60e4147dd0ba9fa9321bb8e859 (patch)
tree88c416a0b6e797c53c22c03c330c0fb05d728690
parentc100e9e45f056b7f44e6895b69283006131611e1 (diff)
Fix caption / captionlong issue
-rw-r--r--layouts/shortcodes/res-gallery.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/shortcodes/res-gallery.html b/layouts/shortcodes/res-gallery.html
index d250708..53215e7 100644
--- a/layouts/shortcodes/res-gallery.html
+++ b/layouts/shortcodes/res-gallery.html
@@ -74,8 +74,7 @@ $myResPage.Dir : {{ $myResPage.Dir }} <br/>
{{- $myImgCmdOpt := ( $myImgCmdOpt | default $myResImgage.Params.imgopt | default $myDefaulImgCmdOpt ) }}
{{- $myThumbCmd := ( $myThumbCmd | default $myResImgage.Params.thumbcmd | default $myDefaulThumbCmd ) }}
{{- $myThumbCmdOpt := ( $myThumbCmdOpt | default $myResImgage.Params.thumbopt | default $myDefaultThumbCmdOpt ) }}
- {{- $myCapLong := ( $myCaptionLong | default $myResImgage.Params.caption | default $myDefaultCaptionLong ) }}
- {{- $myCapLong := ( $myCapLong | default $myResImgage.Params.captionlong | default $myDefaultCaptionLong ) }}
+ {{- $myCapLong := ( $myCaptionLong | default $myResImgage.Params.caption | default $myResImgage.Params.captionlong | default $myDefaultCaptionLong ) }}
{{- $myCapShort := ( $myCaptionShort | default $myResImgage.Params.captionshort | default $myDefaultCaptionShort ) }}
{{- $myCapFileName := replaceRE `.*/` (``) ($myResImgage.Name) }}