diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-28 22:54:34 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-28 22:54:34 +0200 |
commit | 8f3d03b1888fed23e6aa07d6077045e673357481 (patch) | |
tree | a914b8f43b8486380ccc1c35721b28da2ff7986a /themes/blowfish/layouts/shortcodes/github.html | |
parent | 8db6bd0e555dca050d7d885582100c5ca5ba3aa2 (diff) |
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/github.html')
-rw-r--r-- | themes/blowfish/layouts/shortcodes/github.html | 2 |
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 -}} |