Skip to content
Snippets Groups Projects
Unverified Commit 3345c119 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

handle localizations in socials

parent 2a58cf80
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@
)}}
{{ end }}
{{ with site.Data.website.social }}
{{ $site_social_links := index . }}
{{ with (or site.Params.social site.Data.website.social) }}
{{ $site_social_links := . }}
{{ if $site_social_links }}
<ul class="footer-social site-links">
{{ with $site_social_links.email}}
......@@ -35,7 +35,7 @@
{{ end}}
{{ with $site_social_links.github}}
<li class="github">
<a href="{{ . }}" rel="noreferrer" title="Github" target="_blank">Github</a>
<a href="{{ . }}" rel="noreferrer" title="Github" target="_blank">GitHub</a>
</li>
{{ end}}
{{ with $site_social_links.linkedin}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment