Update images path

This commit is contained in:
samaradel
2022-07-27 15:20:16 +02:00
parent 29d14f3ee5
commit 3c7ace6c93
5 changed files with 5 additions and 3 deletions

View File

@@ -65,8 +65,10 @@
</div>
{% endif %}
</div>
{% set url = get_url(path='/' ~ page.relative_path |
replace(from='index.md', to=page.extra.imgPath)) %}
<img class="mx-auto w-full" src="{{get_url(path=page.extra.imgPath)}}" />
<img class="mx-auto w-full" src="{{url}}" />
</div>
{% endfor %}
</div>