.eleventy.js - pass through with rename of assets and images

rc/index.html - update path following passthrough rename
This commit is contained in:
Nick Stokoe
2023-05-09 14:30:07 +01:00
parent 6b97640b61
commit 65813f28f5
2 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ Hello!!
{%- for post in collections.articles -%}
<li>
{% if post.data.featured_image %}
<img width=100 height=100 src="_images/{{ post.data.featured_image }}">
<img width=100 height=100 src="/images/{{ post.data.featured_image }}">
{% endif %}
<a href="{{ post.url }}">{{ post.data.title }}</a></li>
{%- endfor -%}