mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-09 18:16:43 -07:00
add paws badge
This commit is contained in:
parent
6b20b49800
commit
4856d1efb4
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
{% macro badge(badge, url, alt) %}
|
||||
{% macro badge(badge, url="", alt) %}
|
||||
{% if url == "" %}
|
||||
<img src="/badges/{{badge}}" alt="{{alt}}">
|
||||
{% else %}
|
||||
<a href="{{url}}"><img src="/badges/{{badge}}" alt="{{alt}}"></a>
|
||||
{% endif %}
|
||||
{% endmacro badge %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
@ -38,6 +42,7 @@
|
|||
|
||||
<div class="badges">
|
||||
{{ self::badge(badge="transbian.png", url="https://badge.les.bi", alt="transgender and lesbian flags") }}
|
||||
{{ self::badge(badge="paws.gif", alt="made with my own two paws") }}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue