jekyll -> zola
This commit is contained in:
5
templates/shortcodes/image.html
Normal file
5
templates/shortcodes/image.html
Normal file
@ -0,0 +1,5 @@
|
||||
{% set image = resize_image(path=path, width=1024, height=1024, op="fit", format="webp") %}
|
||||
{% set url = get_url(path=path) %}
|
||||
<a href="{{ url }}">
|
||||
<img src="{{ image.url }}"{% if alt %} alt="{{ alt }}"{% endif %} />
|
||||
</a>
|
Reference in New Issue
Block a user