diff options
-rw-r--r-- | layouts/partials/social.html | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 51fc208..2f10661 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,37 +1,59 @@ <aside id="social"> <div id="social-icons"> + {{ with .Site.Params.EmailAddress }} <div class="icon-24x24"> - <a class="glyph" alt="Email me" href="mailto:{{ .Site.Params.EmailAddress }}"><img src="/icons/envelope.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Email me" href="mailto:{{ . }}"><img src="/icons/envelope.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.FacebookUser }} <div class="icon-24x24"> - <a class="glyph" alt="Facebook profile" href="{{ .Site.Params.FacebookUser }}"><img src="/icons/facebook.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Facebook profile" href="{{ . }}"><img src="/icons/facebook.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.FlickrUser }} <div class="icon-24x24"> - <a class="glyph" alt="Flickr profile" href="https://flickr.com/people/{{ .Site.Params.FlickrUser }}"><img src="/icons/flickr.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Flickr profile" href="https://flickr.com/people/{{ . }}"><img src="/icons/flickr.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.GitHubUser }} <div class="icon-24x24"> - <a class="glyph" alt="GitHub profile" href="https://github.com/{{ .Site.Params.GitHubUser }}"><img src="/icons/github.svg" height="24px" width="24px"></a> + <a class="glyph" alt="GitHub profile" href="https://github.com/{{ . }}"><img src="/icons/github.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.GitLabUser }} <div class="icon-24x24"> - <a class="glyph" alt="GitLab profile" href="https://gitlab.com/{{ .Site.Params.GitLabUser }}"><img src="/icons/gitlab.svg" height="24px" width="24px"></a> + <a class="glyph" alt="GitLab profile" href="https://gitlab.com/{{ . }}"><img src="/icons/gitlab.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.GlitchUser }} <div class="icon-24x24"> - <a class="glyph" alt="Glitch profile" href="https://glitch.com/@{{ .Site.Params.GlitchUser }}"><img src="/icons/glitch.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Glitch profile" href="https://glitch.com/@{{ . }}"><img src="/icons/glitch.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.KeybaseUser }} <div class="icon-24x24"> - <a class="glyph" alt="Keybase profile" href="https://keybase.io/{{ .Site.Params.KeybaseUser }}"><img src="/icons/keybase.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Keybase profile" href="https://keybase.io/{{ . }}"><img src="/icons/keybase.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.MicroBlogUser }} <div class="icon-24x24"> - <a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ .Site.Params.MicroBlogUser }}"><img src="/icons/microblog.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ . }}"><img src="/icons/microblog.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.StackOverflowUser }} <div class="icon-24x24"> - <a class="glyph" alt="Stack Overflow profile" href="https://stackoverflow.com/users/{{ .Site.Params.StackOverflowUser }}"><img src="/icons/stack-overflow.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Stack Overflow profile" href="https://stackoverflow.com/users/{{ . }}"><img src="/icons/stack-overflow.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.TumblrUser }} <div class="icon-24x24"> - <a class="glyph" alt="Tumblr profile" href="https://{{ .Site.Params.TumblrUser }}.tumblr.com/"><img src="/icons/tumblr.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Tumblr profile" href="https://{{ . }}.tumblr.com/"><img src="/icons/tumblr.svg" height="24px" width="24px"></a> </div> + {{ end }} + {{ with .Site.Params.TwitterUser }} <div class="icon-24x24"> - <a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ .Site.Params.TwitterUser }}"><img src="/icons/twitter.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ . }}"><img src="/icons/twitter.svg" height="24px" width="24px"></a> </div> + {{ end }} </div> </aside> |