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
c118a29
..
b35d32c
100644
(file)
--- a/
layouts/partials/home-social-links.html
+++ b/
layouts/partials/home-social-links.html
@@
-3,9
+3,9
@@
<ul class="social-links-list">
{{ range site.Data.socials.sites | shuffle }}
<li>
<ul class="social-links-list">
{{ range site.Data.socials.sites | shuffle }}
<li>
- <a href="{{ .url }}/{{ .user }}">{{ partial "funcs/svg.html" ".name" }}</a>
+ {{$name := .name}}
+ <a href="{{ .url }}/{{ .user }}">{{ partial "funcs/svg.html" (dict "context" . "username" $name) }}</a>
</li>
{{ end }}
</li>
{{ end }}
- <li class="linux">{{ partial "funcs/svg.html" "linux" }}</li>
</ul>
</div>
</ul>
</div>