summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/shortcodes/github.html
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-28 22:54:34 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-28 22:54:34 +0200
commit8f3d03b1888fed23e6aa07d6077045e673357481 (patch)
treea914b8f43b8486380ccc1c35721b28da2ff7986a /themes/blowfish/layouts/shortcodes/github.html
parent8db6bd0e555dca050d7d885582100c5ca5ba3aa2 (diff)
sync themeHEADmaster
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/github.html')
-rw-r--r--themes/blowfish/layouts/shortcodes/github.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/blowfish/layouts/shortcodes/github.html b/themes/blowfish/layouts/shortcodes/github.html
index 2daecd6..5614697 100644
--- a/themes/blowfish/layouts/shortcodes/github.html
+++ b/themes/blowfish/layouts/shortcodes/github.html
@@ -1,6 +1,6 @@
{{ $id := delimit (slice "github" (partial "functions/uid.html" .)) "-" }}
{{- $githubURL := print "https://api.github.com/repos/" (.Get "repo") -}}
-{{- $githubData := getJSON ($githubURL) -}}
+{{- $githubData := resources.GetRemote $githubURL | transform.Unmarshal -}}
{{- $githubColors := .Site.Data.githubColors -}}
{{- with $githubData -}}