Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/brycematheson/allegiant.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Madison <ethan@ethanmad.com>2015-05-11 09:55:32 +0300
committerEthan Madison <ethan@ethanmad.com>2015-05-11 10:29:51 +0300
commit3431b3ea3f31ba710cb99cb4b84e9e43cf0176a8 (patch)
tree43b402010c18ad104d4f3cea406e39c94346d209
parent883da9dc3adce02bebf82157737845f59c98a1d6 (diff)
Add Google+ link (defined by googleplus param)
-rw-r--r--README.md1
-rw-r--r--layouts/partials/link.html7
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2a3b9be..5174dbe 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ copyright = "&copy; 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 }}