diff --git a/content/blog/88x31/index.md b/content/blog/88x31/index.md index e764f05..319aae8 100644 --- a/content/blog/88x31/index.md +++ b/content/blog/88x31/index.md @@ -1,7 +1,7 @@ +++ title = "88x31" description = "My 88x31 badge as well as a few others" -date = 2026-04-24 +date = 2026-04-25 [taxonomies] tags = ["web", "88x31"] @@ -16,3 +16,11 @@ I decided to make a 88x31 badge for fun and included a fun little puzzle inside Here are some badges from people I know/like {{ badge88x31(link="https://ivytime.gay", src="https://ivytime.gay/badges/ivytime.gay.png", alt="Ivy's badge", new_tab=true) }} + +--- + +other + +{{ badge88x31(src="madeon-linux.gif", alt="made on Linux badge") }} +{{ badge88x31(link="https://nixos.org/", src="nixos.png", alt="NixOS badge", new_tab=true) }} + diff --git a/content/blog/88x31/madeon-linux.gif b/content/blog/88x31/madeon-linux.gif new file mode 100644 index 0000000..89e3562 Binary files /dev/null and b/content/blog/88x31/madeon-linux.gif differ diff --git a/content/blog/88x31/nixos.png b/content/blog/88x31/nixos.png new file mode 100644 index 0000000..4c695c4 Binary files /dev/null and b/content/blog/88x31/nixos.png differ diff --git a/templates/shortcodes/badge88x31.html b/templates/shortcodes/badge88x31.html index ca5ab2f..f872ca8 100644 --- a/templates/shortcodes/badge88x31.html +++ b/templates/shortcodes/badge88x31.html @@ -1,6 +1,8 @@ {% set is_remote = src is starting_with("http://") or src is starting_with("https://") %} {% set is_site_root = src is starting_with("/") %} {% set badge_src = src %} +{% set badge_link = link | default(value="") %} +{% set has_link = badge_link != "" %} {% if is_site_root %} {% set badge_src = get_url(path=src) %} @@ -10,12 +12,14 @@ {% set badge_src = get_url(path=local_asset_path) %} {% endif %} +{% if has_link %} +{% endif %} +{% if has_link %} +{% endif %}