diff options
author | Bruno Grossniklaus <grossnik@kes> | 2018-06-20 08:13:19 +0300 |
---|---|---|
committer | Bruno Grossniklaus <grossnik@kes> | 2018-06-20 08:13:19 +0300 |
commit | 9d33c2033aea2f60e4147dd0ba9fa9321bb8e859 (patch) | |
tree | 88c416a0b6e797c53c22c03c330c0fb05d728690 | |
parent | c100e9e45f056b7f44e6895b69283006131611e1 (diff) |
Fix caption / captionlong issue
-rw-r--r-- | layouts/shortcodes/res-gallery.html | 3 |
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) }} |