Skip to content

Commit

Permalink
fix joinpath eli5-images.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Mullana authored Feb 25, 2024
1 parent edb74f2 commit e57476e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/shortcodes/blocks/eli5-images.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<section class="eli5-images td-box td-box--white " >

{{ with .Get "src1" }}
<img class="eli5-image col" src="{{ urls.JoinPath $path $src1 | absURL }}" alt="{{ $alt1 }}" />
<img class="eli5-image col" src="{{ $src1 | absURL }}" alt="{{ $alt1 }}" />
{{ end }}

{{ with .Get "src2" }}
<img class="eli5-image col" src="{{ urls.JoinPath $path $src2 | absURL }}" alt="{{ $alt2 }}" />
<img class="eli5-image col" src="{{ $src2 | absURL }}" alt="{{ $alt2 }}" />
{{ end }}

{{ with .Get "src3" }}
<img class="eli5-image col" src="{{ urls.JoinPath $path $src3 | absURL }}" alt="{{ $alt3 }}" />
<img class="eli5-image col" src="{{ $src3 | absURL }}" alt="{{ $alt3 }}" />
{{ end }}

</section>
</section>

0 comments on commit e57476e

Please sign in to comment.