splitted up stylesheet and added lots of scaffolding to it. Style needs working.
[theme-danix.xyz.git] / layouts / partials / home-social-links.html
index cef1f3a..1a46df7 100644 (file)
@@ -1,9 +1,12 @@
-<div id="home-social-links">
-       <h3 class="text-only">my socials</h3>
-       <ul>
-               {{ range site.Data.socials.sites }}
+<div class="inner">
+       <header class="major">
+               <h3 class="screen-reader-text social-links-title">my socials</h3>
+       </header>
+       <ul class="social-sites">
+               {{ range site.Data.socials.sites | shuffle }}
                        <li>
-                               <a href="{{ .url }}/{{ .user }}">{{ .name }}</a>
+                               {{$name := .name}}
+                               <a href="{{ .url }}/{{ .user }}">{{ partial "funcs/svg.html" (dict "context" . "username" $name) }}</a>
                        </li>
                {{ end }}
        </ul>