diff options
author | pdevty <p.dev.ty@gmail.com> | 2016-08-28 03:21:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-28 03:21:25 +0300 |
commit | 587b3af7db83f4677dfd905520ba968ada3686f7 (patch) | |
tree | 96f758ae81e7ca808e5b625dcd4c1036b8735f5a | |
parent | 0d88058fead04a70d14f34552e07a1fd81911ca6 (diff) | |
parent | 78904cba7d626def08c6faee00f78e31b641e6d5 (diff) |
Add a link to Gitlab account
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | layouts/partials/header.html | 3 | ||||
-rw-r--r-- | static/images/gitlab.png | bin | 0 -> 1926 bytes |
3 files changed, 5 insertions, 1 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, Google+, LinkedIn links (optional)
+- Twitter, Facebook, Gitlab, GitHub, Google+, LinkedIn links (optional)
- Tags
- Categories
- Cover image (optional)
@@ -49,6 +49,7 @@ copyright = "© 2015 Copyright Text" [params]
description = "Your Site Description" # optional
twitter = "Your Twitter Name" # optional
+ gitlab = "Your Gitlab Name" # optional
github = "Your Github Name" # optional
facebook = "Your facebook Name" # optional
gplus = "Your Google+ profile name" # optional
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5d8db25..d66f868 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -31,6 +31,9 @@ <h5 class="header col s12 light">{{.Site.Params.description}}</h5>
</div>
<div class="row center">
+ {{if .Site.Params.gitlab}}
+ <a href="https://gitlab.com/u/{{ .Site.Params.gitlab }}"><img src="{{.Site.BaseURL}}/images/gitlab.png"></a>
+ {{end}}
{{if .Site.Params.github}}
<a href="https://github.com/{{ .Site.Params.github }}"><img src="{{.Site.BaseURL}}/images/github2-dreamstale35.png"></a>
{{end}}
diff --git a/static/images/gitlab.png b/static/images/gitlab.png Binary files differnew file mode 100644 index 0000000..4d7ae75 --- /dev/null +++ b/static/images/gitlab.png |