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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fuchs <me@fixl.info>2016-09-09 17:02:43 +0300
committerStefan Fuchs <me@fixl.info>2016-09-09 17:02:43 +0300
commit93b1035bf943cbc4aa4282bb78bb1647371e2bf6 (patch)
tree66371a175aacbcaf2291980a37c7d35668068432
parentafd0ec68c3b203a7ae597bd081b6d50babad2be1 (diff)
Add gitlab parameter to sidebar
Now we can link our gitlab repo as well.
-rw-r--r--README.md1
-rw-r--r--layouts/partials/sidebar.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3052438..3cfe964 100644
--- a/README.md
+++ b/README.md
@@ -192,6 +192,7 @@ Sidebar links are read from the config file as follows:
[params]
github = "https://github.com/parsiya/"
bitbucket = "https://bitbucket.org/parsiya/"
+ gitlab = ""
twitter = "https://twitter.com/cryptogangsta/"
keybase = "https://keybase.io/parsiya/"
stackoverflow = ""
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 1cb3fec..176edb3 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -25,6 +25,7 @@
<li class="sidebar-nav-item">
{{ with .Site.Params.github }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-github fa-3x"></i></a>{{ end }}
{{ with .Site.Params.bitbucket }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-bitbucket fa-3x"></i></a>{{ end }}
+ {{ with .Site.Params.gitlab }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-gitlab fa-3x"></i></a>{{ end }}
{{ with .Site.Params.twitter }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-twitter fa-3x"></i></a>{{ end }}
{{ with .Site.Params.keybase }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-key fa-3x"></i></a>{{ end }} <!-- added keybase -->
{{ with .Site.Params.linkedin }}<a target="_blank" href="{{ . }}" title="{{ . }}"><i class="fa fa-linkedin fa-3x"></i></a>{{ end }}