Skip to content

Commit

Permalink
test url
Browse files Browse the repository at this point in the history
  • Loading branch information
nagpalkaran95 committed Oct 8, 2024
1 parent 5af3727 commit 4955ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/responsive-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<picture>
{% for i in resized %}
<source media="(min-width: {{ i.width }}px)" srcset=url('{{ i.path | prepend: site.baseurl | replace: '//', '/' }}')>
<source media="(min-width: {{ i.width }}px)" srcset="{{ site.baseurl }}/{{ i.path }}">
{% endfor %}

<img src=url('{{ path | prepend: site.baseurl | replace: '//', '/' }}') class="center">
<img src="{{ site.baseurl }}/{{ path }}" class="center">
</picture>

0 comments on commit 4955ce5

Please sign in to comment.