diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/link.html | 12 |
2 files changed, 12 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 f5bb400..0c91771 100644 --- a/layouts/partials/link.html +++ b/layouts/partials/link.html @@ -1,7 +1,17 @@ <div class="sns-links hidden-print"> + {{ with .Site.Params.contact }} + <a href="{{ . }}"> + <i class="fa fa-envelope"></i> + </a> + {{ end }} {{ 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 }} |