Skip to content

Commit

Permalink
Merge pull request #16 from devgeniem/TMS-970
Browse files Browse the repository at this point in the history
TMS-970: Add image meta to cta and content-columns components
  • Loading branch information
eebbi committed Oct 23, 2023
2 parents c12c625 + cf3bba1 commit 0ea89af
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
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.1.4] - 2023-10-23

- TMS-970: Add image meta to call-to-action and content-columns components

## [1.1.3] - 2023-10-12

### Fixed
Expand Down
8 changes: 8 additions & 0 deletions partials/layouts/layout-call-to-action.dust
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
{@image id=image.id size="large" class="objectfit-image" /}
</div>
{>"shared/layout-before-main-content" /}

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

{?display_artist}
{>"ui/image/image-meta-minimal" /}
{/display_artist}
</div>
{/image}

Expand Down
8 changes: 8 additions & 0 deletions partials/layouts/layout-content-columns.dust
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
<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}
{>"ui/image/image-meta-minimal" /}
{/display_artist}
</div>
{/image}

Expand Down

0 comments on commit 0ea89af

Please sign in to comment.