From cc93a30768fef7fd0c34efbc4388b0a7e9d5dbe4 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 11 Apr 2026 00:09:35 +0530 Subject: [PATCH] Refactor SVG paths for improved readability and maintainability --- layouts/partials/svg.html | 47 +++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index c49fdf53..5b0a7510 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -247,7 +247,9 @@ {{- else if (eq $icon_name "dzen") -}} - + {{- else if (eq $icon_name "email") -}} {{- else if (eq $icon_name "farcaster") -}} - - - - + + + + {{- else if (eq $icon_name "fediverse") -}} @@ -522,8 +528,8 @@ {{- else if (eq $icon_name "linktree") -}} - + {{- else if (eq $icon_name "mastodon") -}} {{- else if (eq $icon_name "unity") -}} - + {{- else if (eq $icon_name "unsplash") -}} @@ -916,12 +923,16 @@ {{- else if (eq $icon_name "whatsapp") -}} - + + {{- else if or (eq $icon_name "wikipedia") (eq $icon_name "wiki") -}} - - + + {{- else if (eq $icon_name "wordpress") -}} @@ -960,8 +971,10 @@ {{- else if (eq $icon_name "yeswehack") -}} - - + + {{- else if (eq $icon_name "youtube") -}} - - - - + + + + {{- else if $icon_name -}}