Switch to using TOML for the list of links
This commit is contained in:
parent
2d8636d167
commit
03c3bcf193
4 changed files with 57 additions and 60 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue