Fix fitted images not rendering due to zola 0.14.0 API change
See https://github.com/getzola/zola/pull/1543
This commit is contained in:
parent
32d945792c
commit
ba5be8a3c9
|
@ -1,5 +1,6 @@
|
|||
<p>
|
||||
<a href="{% if url %}{{ url | safe }}{% else %}{{ path | split(pat="/") | last }}{% endif %}" title="View full-size image">
|
||||
<img src="{{ resize_image(path=path, width=750, height=1500, op="fit") }}" />
|
||||
{% set image = resize_image(path=path, width=750, height=1500, op="fit") %}
|
||||
<img src="{{ image.url }}" />
|
||||
</a>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue