jeremykidwell.info/layouts/shortcodes/ghStarred.html
Jeremy Kidwell 13e2fd6e74 first commit
2017-06-26 20:57:02 +01:00

12 lines
398 B
HTML
Executable file

<ul class="compact fa-ul">
{{ $url := .Get "url" }}
{{ range getJSON $url }}
{{ $p := . }}
<li>
<p><strong><a href="{{ $p.html_url }}" target="_blank">{{ $p.name }}:</a></strong>
Stars: {{$p.stargazers_count}} &middot; Forks: {{$p.forks_count}} &middot; Size: {{$p.size}} &middot; Type: {{$p.language}} <br />
{{ $p.description }}</p>
</li>
{{ end }}
</ul>