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
BIN
site/root/badges/paws.gif
Normal file
BIN
site/root/badges/paws.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 877 B |
|
@ -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>
|
<a href="{{url}}"><img src="/badges/{{badge}}" alt="{{alt}}"></a>
|
||||||
|
{% endif %}
|
||||||
{% endmacro badge %}
|
{% endmacro badge %}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -38,6 +42,7 @@
|
||||||
|
|
||||||
<div class="badges">
|
<div class="badges">
|
||||||
{{ self::badge(badge="transbian.png", url="https://badge.les.bi", alt="transgender and lesbian flags") }}
|
{{ 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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue