mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-18 19:52:35 -08:00
16 lines
350 B
Text
16 lines
350 B
Text
{% if "class" in userdata %}
|
|
{% set class = userdata.class %}
|
|
{% else %}
|
|
{% set class = "" %}
|
|
{% endif %}
|
|
|
|
{% if "alt" in userdata %}
|
|
{% set alt = userdata.alt %}
|
|
{% else %}
|
|
{% set alt = "" %}
|
|
{% endif %}
|
|
|
|
<div class="image {{class}}">
|
|
<a href="{{userdata.src}}"><img src="{{userdata.src}}" alt="{{alt}}"></a>
|
|
<span>{{ page | safe }}</span>
|
|
</div>
|