Skip to content

Commit

Permalink
Fix #189
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Apr 3, 2023
1 parent c95ccd2 commit ddab72c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/shortcodes/img.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
{{- if $src -}}
<div class="carousel-item {{ if eq .Ordinal 0 }}active{{ end }}">
{{ partial "image.html" (dict "url" $src "ratio" $ratio "innerClass" "d-block w-100") }}
<div class="carousel-caption gradient"></div>
{{ with $caption }}
<div class="carousel-caption d-none d-md-block gradient">
<div class="carousel-caption d-none d-md-block">
<div class="d-flex justify-content-center align-items-end h-100 w-100 p-4">{{ . }}</div>
</div>
{{ end }}
Expand Down

0 comments on commit ddab72c

Please sign in to comment.