Clean up some unused macros

main
trivernis 1 year ago
parent 3f9f5d1b19
commit 81359898a6
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -3,19 +3,3 @@
<i class="ri-{{ icon }}-fill icon" aria-hidden="true"></i><span aria-hidden="true"> {{ text }}</span> <i class="ri-{{ icon }}-fill icon" aria-hidden="true"></i><span aria-hidden="true"> {{ text }}</span>
</div> </div>
{% endmacro %} {% endmacro %}
{% macro figure(url, alt, description="", source="") %}
<figure class="figure">
<img class="figure-img" src="{{url}}" alt="{{alt}}" title="{{alt}}">
{% if description != "" or source != "" %}
<figcaption class="figure-description">
{% if description != "" %}
{{description}}
{% endif %}
{% if source != "" %}
<i>(<a class="figure-source" href="{{source}}">Source</a>)</i>
{% endif %}
</figcaption>
{% endif %}
</figure>
{% endmacro %}

Loading…
Cancel
Save