diff --git a/layouts/shortcodes/gist.html b/layouts/shortcodes/gist.html index 5179856..f5d19e5 100644 --- a/layouts/shortcodes/gist.html +++ b/layouts/shortcodes/gist.html @@ -1,15 +1,17 @@ {{ $id := default (.Get 0) .Page.Params.gist }} {{ $data := getJSON "https://api.github.com/gists/" $id }} -{{ range $i, $e := $data.files }} -
{{ $i }}
-
-
-
- View Raw
-
- {{ $i }}
+
+
+
+ View Raw
+
+