Skip to content

Commit

Permalink
Merge pull request #142 from devgeniem/TMS-970
Browse files Browse the repository at this point in the history
TMS-970: Add image meta to content-columns component
  • Loading branch information
eebbi authored Oct 23, 2023
2 parents 11f7df3 + 12fa35f commit 9ae28b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.6.4] - 2023-10-23

- TMS-970: Add image meta to content-columns component

## [1.6.3] - 2023-10-12

- TMS-936: Image carousel accessibility fixes
Expand Down
7 changes: 6 additions & 1 deletion partials/layouts/layout-content-columns.dust
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<div class="image">
{@image id=image.id size="large" class="objectfit-image" /}
</div>

{@isset key1=display_caption key2=image.caption method="AND" }
{>"ui/image/image-caption" /}
{/isset}

{?display_artist}
{?image_author_and_artist}
<small>{image_author_and_artist|html}</small>
Expand All @@ -24,7 +29,7 @@

{?description}
<div class="content-columns__description mt-6 keep-vertical-spacing">
{description|html}
{description|kses}
</div>
{/description}
</div>
Expand Down

0 comments on commit 9ae28b4

Please sign in to comment.