Switch to using TOML for the list of links

This commit is contained in:
NeilBrommer 2018-06-12 13:19:59 -07:00
parent 2d8636d167
commit 03c3bcf193
4 changed files with 57 additions and 60 deletions

View file

@ -1,8 +1,7 @@
{{ with .Get 0 }}
{{ $cardData := getJSON . }}
{{ with $.Site.Data.links }}
<div class="card-columns">
{{ range $cardData }}
{{ range .link }}
{{ partial "linkCard" . }}
{{ end }}
</div>