mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 15:56:29 -05:00
Added openstreetmap stat
This commit is contained in:
parent
389b8c6f3d
commit
88e4a3d97d
1 changed files with 8 additions and 0 deletions
|
@ -76,6 +76,14 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Total OpenStreetMap Edits</td>
|
||||||
|
<td>
|
||||||
|
{{ $data := getJSON "https://api.openstreetmap.org/api/0.6/user/16068861.json" }}
|
||||||
|
{{ $data.user.changesets.count }}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{{ $grouped := $posts.GroupByDate "2006" }}
|
{{ $grouped := $posts.GroupByDate "2006" }}
|
||||||
|
|
Loading…
Reference in a new issue