Alternative content (RSS, (offline) JSON), social media partial
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
{{ .Content }}
|
||||
{{ $url := printf "%s/%s/repos" .Site.Params.gh_url .Site.Params.gh_user }}
|
||||
{{ $repos := getJSON $url }}
|
||||
{{ $repos_local := getJSON "data/repos.json" }}
|
||||
<section class="oss">
|
||||
{{ range $repos }}
|
||||
{{ range $repos_local }}
|
||||
<article>
|
||||
<h3><a href="{{ .html_url }}">{{ .name }}</a></h3>
|
||||
<p>{{ .description }}</p>
|
||||
|
||||
Reference in New Issue
Block a user