Skip to content

Commit

Permalink
PROJECT fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreKelling committed Jan 8, 2024
1 parent ee6116e commit d3dea3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const imagesContent = () =>
.pipe(
responsiveImages({
formats: [
{ width: 444, rename: { suffix: "-sm" } },
{ width: 444, rename: { suffix: "-md" } },
{ width: 888, rename: { suffix: "-lg" } },
]
})
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/project-page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
title="Show {{ slide.title }}"
role="button"
>
<img src="{{ imagePath }}{{ slide.image }}" alt="{{ slide.title }}">
<img src="{{ imagePath }}{{ slide.image }}-md.{{ slide.ext }}" alt="{{ slide.title }}">
</span>
{% endfor %}
</nav>
Expand Down

0 comments on commit d3dea3f

Please sign in to comment.