From 308e03eac1a88f5f41bb6fc116c83dae257c83d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Tue, 26 Feb 2019 00:41:22 +0100 Subject: [PATCH] allow to specify a custom gitlab domain --- layouts/partials/sidebar/social.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sidebar/social.html b/layouts/partials/sidebar/social.html index 0b42c57..ba6567c 100644 --- a/layouts/partials/sidebar/social.html +++ b/layouts/partials/sidebar/social.html @@ -11,8 +11,12 @@ {{ with .Site.Params.social.bitbucket }} {{ end }} + {{ $gitlab_domain := "gitlab.com" }} + {{ with .Site.Params.social.custom_gitlab_domain }} + {{ $gitlab_domain = . }} + {{ end }} {{ with .Site.Params.social.gitlab }} - + {{ end }} {{ with .Site.Params.social.instagram }}