modified spotify link.
authordanix <danix@danix.xyz>
Mon, 27 Feb 2023 14:41:35 +0000 (15:41 +0100)
committerdanix <danix@danix.xyz>
Mon, 27 Feb 2023 14:41:35 +0000 (15:41 +0100)
data/socials.json
layouts/partials/funcs/social-menu.html

index 3481b09..8a3d805 100644 (file)
@@ -17,8 +17,8 @@
                },
                {
                        "name": "spotify",
-                       "url": "https://www.spotify.com",
-                       "user": "danixland"
+                       "url": "https://open.spotify.com/user",
+                       "user": "1166786773"
                }
        ]
 }
index 61da535..0da57f8 100644 (file)
@@ -3,7 +3,7 @@
        <ul class="footer-socials">
                <li class="social-link social-spotify">
                        {{$spotify := "spotify"}}
-                       <a href="https://spotify.com/{{ .spotify }}" target="_blank">{{ partial "funcs/svg.html" (dict "context" . "username" $spotify) }}</a>
+                       <a href="https://open.spotify.com/user/{{ .spotify }}" target="_blank">{{ partial "funcs/svg.html" (dict "context" . "username" $spotify) }}</a>
                </li>
                <li class="social-link social-twitter">
                        {{$twitter := "twitter"}}