diff options
author | Ethan Madison <ethan@ethanmad.com> | 2015-05-11 09:55:32 +0300 |
---|---|---|
committer | Ethan Madison <ethan@ethanmad.com> | 2015-05-11 10:29:51 +0300 |
commit | 3431b3ea3f31ba710cb99cb4b84e9e43cf0176a8 (patch) | |
tree | 43b402010c18ad104d4f3cea406e39c94346d209 | |
parent | 883da9dc3adce02bebf82157737845f59c98a1d6 (diff) |
Add Google+ link (defined by googleplus param)
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/link.html | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -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. diff --git a/layouts/partials/link.html b/layouts/partials/link.html index 831abae..4260007 100644 --- a/layouts/partials/link.html +++ b/layouts/partials/link.html @@ -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 }} |