final polish

This commit is contained in:
Nuno Coração
2024-08-10 11:23:56 +01:00
parent 32af8f189a
commit 80417d4238
85 changed files with 77 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
{{ $id := delimit (slice "forgejo" (partial "functions/uid.html" .)) "-" }}
{{- $forgejoURL := print (.Get "server" | default .Site.Params.forgejoDefaultServer) "/api/v1/repos/" (.Get "repo") -}}
{{- $forgejoData := getJSON ($forgejoURL) -}}
{{- $forgejoData := resources.GetRemote $forgejoURL | transform.Unmarshal -}}
{{- $forgejoColors := .Site.Data.forgejoColors -}}
{{- with $forgejoData -}}