Sha256: eb2709036b252aa378d2eb1c3e6efa4d387de0927ab906e23fe2be46226df301
Contents?: true
Size: 537 Bytes
Versions: 21
Compression:
Stored size: 537 Bytes
Contents
/begin captures - image_tmpl = Helpers.capture_output do img class=role src=image_uri(attr :target) alt=(attr :alt) width=(attr :width) height=(attr :height) - linked_image_tmpl = Helpers.capture_output do a.image href=(attr :link) - image_tmpl.yield /end captures - if title? || @caption /perhaps the role should go on the figure figure - (attr? :link) ? linked_image_tmpl.yield : image_tmpl.yield figcaption class=(attr :crole) =captioned_title - else - (attr? :link) ? linked_image_tmpl.yield : image_tmpl.yield
Version data entries
21 entries across 21 versions & 1 rubygems