Skip to content

Commit

Permalink
figure & figcaption
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed May 2, 2023
1 parent 93f8eb3 commit fd39df8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/public/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
@endempty
@include('core::public._share-links')
@empty(!$model->image)
<picture class="news-picture">
<figure class="news-picture">
<img class="news-picture-image" src="{{ $model->present()->image(2000) }}" width="{{ $model->image->width }}" height="{{ $model->image->height }}" alt="">
@empty(!$model->image->description)
<legend class="news-picture-legend">{{ $model->image->description }}</legend>
<figcaption class="news-picture-legend">{{ $model->image->description }}</figcaption>
@endempty
</picture>
</figure>
@endempty
@empty(!$model->body)
<div class="rich-content">{!! $model->present()->body !!}</div>
Expand Down

0 comments on commit fd39df8

Please sign in to comment.