feat: Rewrite in Zola
This commit is contained in:
12
templates/shortcodes/image.html
Normal file
12
templates/shortcodes/image.html
Normal file
@ -0,0 +1,12 @@
|
||||
<a href="{{url}}">
|
||||
<img
|
||||
class="
|
||||
{% if full %}full{% endif %}
|
||||
{% if pixels %}pixels{% endif %}
|
||||
{% if transparent %}transparent{% endif %}
|
||||
{% if no_hover %}no-hover{% endif %}
|
||||
"
|
||||
{% if alt %}alt="{{alt}}"{% endif %}
|
||||
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}"
|
||||
/>
|
||||
</a>
|
Reference in New Issue
Block a user