From 64c057ca3a4495259a0ae3e3f8c94d29f3b495b2 Mon Sep 17 00:00:00 2001 From: Robbe Van Herck Date: Tue, 8 Oct 2019 01:58:01 +0200 Subject: [PATCH] Allow GitLab link --- layouts/partials/_project.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layouts/partials/_project.erb b/layouts/partials/_project.erb index 34c49b5..7d4392a 100644 --- a/layouts/partials/_project.erb +++ b/layouts/partials/_project.erb @@ -14,7 +14,12 @@

<%= project[:title] %>

<%= project.compiled_content %> -
<%= fa('github') %> GitHub
+ <% if project[:github] %> +
<%= fa('github') %> GitHub
+ <% end %> + <% if project[:gitlab] %> +
<%= fa('gitlab') %> GitLab
+ <% end %>