diff options
author | lynxiayel <lxytcmn@gmail.com> | 2015-05-22 00:14:10 +0300 |
---|---|---|
committer | lynxiayel <lxytcmn@gmail.com> | 2015-05-22 00:14:10 +0300 |
commit | 03cbf74ff679b9f4d4ae3b67b09af69de3c672a1 (patch) | |
tree | 47b21750f0d6e299645f3e81306cd063eb922b44 | |
parent | 37f075e929f10b944962c12bf4e21d3b39b5db45 (diff) |
added support for Google+ link
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | layouts/partials/header.html | 3 | ||||
-rw-r--r-- | static/images/gplus48x48.png | bin | 0 -> 3382 bytes |
3 files changed, 6 insertions, 2 deletions
@@ -12,7 +12,7 @@ demo : [http://pdevty.github.io/blog/](http://pdevty.github.io/blog/) - Google Analytics (optional)
- Pagination
- Disqus (optional)
-- Twitter, Facebook, GitHub links (optional)
+- Twitter, Facebook, GitHub, Google+ links (optional)
- Tags
- Categories
- Cover image (optional)
@@ -51,6 +51,7 @@ copyright = "© 2015 Copyright Text" twitter = "Your Twitter Name" # optional
github = "Your Github Name" # optional
facebook = "Your facebook Name" # optional
+ gplus = "Your Google+ profile name" # optional
headerCover = "images/headerCover.png" # optional
footerCover = "images/footerCover.png" # optional
googleAnalyticsUserID = "Your Analytics User Id" # optional
@@ -65,4 +66,4 @@ copyright = "© 2015 Copyright Text" 2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
-5. Create new Pull Request
\ No newline at end of file +5. Create new Pull Request
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 19f222d..496ec41 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -33,6 +33,9 @@ {{if .Site.Params.twitter}}
<a href="https://twitter.com/{{.Site.Params.twitter}}"><img src="{{.Site.BaseUrl}}/images/twitter-dreamstale71.png"></a>
{{end}}
+ {{if .Site.Params.gplus}}
+ <a href="https://google.com/+{{.Site.Params.gplus}}"><img src="{{.Site.BaseUrl}}/images/gplus48x48.png"></a>
+ {{end}}
<a href="{{.Site.BaseUrl}}/index.xml"><img src="{{.Site.BaseUrl}}/images/feed-dreamstale27.png"></a>
</div>
</div>
diff --git a/static/images/gplus48x48.png b/static/images/gplus48x48.png Binary files differnew file mode 100644 index 0000000..9c1202c --- /dev/null +++ b/static/images/gplus48x48.png |