summaryrefslogtreecommitdiff
path: root/index.md
diff options
context:
space:
mode:
authorHizbu Azka <hanifan.azka@gmail.com>2026-11-03 00:04:06 +0700
committerHizbu Azka <hanifan.azka@gmail.com>2026-11-03 00:05:48 +0700
commit6e0be0086246743558c4371c72f46b875d99ffe9 (patch)
tree7fb18d374939ee11b82315e183e5742e6bcbd5e4 /index.md
parent4c86862dedac57560e4dc6c0cbb5a1b1bdaf7e78 (diff)
add webbadge includes
Diffstat (limited to 'index.md')
-rw-r--r--index.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/index.md b/index.md
index fbefe2d..65bba6c 100644
--- a/index.md
+++ b/index.md
@@ -61,15 +61,11 @@ In the mean time, these are my amazing friends:
<ul style="list-style-type:none;padding:0;line-height:0;display:flex;gap:1ex;flex-wrap:wrap">
{%- for badge in page.badges %}
<li style="display:block">
- <a href="{{ badge.url }}">
- <img width="88" height="31" src="{{ badge.image | relative_url }}" alt="{{ badge.alt }}" style="image-rendering:pixelated">
- </a>
+ {% include 88x31.html url=badge.url image=badge.image alt=badge.alt %}
</li>
{%- endfor %}
<li style="display:flex;gap:1ex;align-items:center">
- <a href="https://hizbu.com/">
- <img width="88" height="31" src="{{ '/assets/hizbu.webp' | relative_url }}" alt="hizbu 88x31 web badge" style="image-rendering:pixelated">
- </a>
+ {% include 88x31.html image="/assets/hizbu.webp" alt="hizbu 88x31 web badge" %}
</li>
</ul>