danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added video shortcode
[theme-danix.xyz.git]
/
layouts
/
partials
/
home-social-links.html
diff --git
a/layouts/partials/home-social-links.html
b/layouts/partials/home-social-links.html
index
cef1f3a
..
b35d32c
100644
(file)
--- a/
layouts/partials/home-social-links.html
+++ b/
layouts/partials/home-social-links.html
@@
-1,9
+1,10
@@
<div id="home-social-links">
<div id="home-social-links">
- <h3 class="
text-only
">my socials</h3>
- <ul>
- {{ range site.Data.socials.sites }}
+ <h3 class="
screen-reader-text social-links-title
">my socials</h3>
+ <ul
class="social-links-list"
>
+ {{ range site.Data.socials.sites
| shuffle
}}
<li>
<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>
</li>
{{ end }}
</ul>