mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
[ADD] Base URL option for short code and an appropriate default for gitlab's public instance
This commit is contained in:
parent
3d9978c225
commit
c1aca647c7
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{- $gitlabData := getJSON (print "https://gitlab.com/api/v4/projects/" (.Get "repo_id")) -}}
|
{{- $gitLabData := getJSON (print (default "https://gitlab.com/" (.Get "baseURL")) "api/v4/projects/" (.Get "projectID")) -}}
|
||||||
{{- with $gitlabData -}}
|
{{- with $gitLabData -}}
|
||||||
|
|
||||||
<a target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
<a target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||||
<div class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border-2 rounded-md backdrop-blur shadow-2xl">
|
<div class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border-2 rounded-md backdrop-blur shadow-2xl">
|
||||||
|
|
Loading…
Reference in a new issue