diff options
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 -}} |