Add Google+ link (defined by googleplus param)

This commit is contained in:
Ethan Madison 2015-05-10 23:55:32 -07:00
parent 883da9dc3a
commit 3431b3ea3f
2 changed files with 7 additions and 1 deletions

View File

@ -41,6 +41,7 @@ copyright = "© Copyright notice"
twitter = "Your Twitter username"
github = "Your GitHub username"
linkedin = "Your LinkedIn username"
googleplus = "Your Google+ user id"
facebook = "Your Facebook username"
stackoverflow = "Your Stackoverflow profile"
# Google Analytics API key.

View File

@ -1,7 +1,12 @@
<div class="sns-links hidden-print">
{{ with .Site.Params.twitter }}
<a href="https://twitter.com/{{ . }}" target="_blank">
<i class="fa fa-twitter"></i>
<i class="fa fa-twitter"></i>
</a>
{{ end }}
{{ with .Site.Params.googleplus }}
<a href="https://plus.google.com/+{{ . }}" target="_blank">
<i class="fa fa-google"></i>
</a>
{{ end }}
{{ with .Site.Params.facebook }}