From 3d9978c225bf15eeba98f4c97758869b22d03537 Mon Sep 17 00:00:00 2001 From: Diogo Macedo <43378713+DiogoM1@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:32:46 +0100 Subject: [PATCH] [FIX] Replace github naming --- layouts/shortcodes/gitlab.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/gitlab.html b/layouts/shortcodes/gitlab.html index 196727db..4364ce86 100644 --- a/layouts/shortcodes/gitlab.html +++ b/layouts/shortcodes/gitlab.html @@ -1,6 +1,5 @@ -{{- $githubData := getJSON (print "https://gitlab.com/api/v4/projects/" (.Get "repo_id")) -}} -{{- $githubColors := .Site.Data.githubColors -}} -{{- with $githubData -}} +{{- $gitlabData := getJSON (print "https://gitlab.com/api/v4/projects/" (.Get "repo_id")) -}} +{{- with $gitlabData -}}