datatable.html (422B)
1 <table class="utils-table"> 2 <thead> 3 <tr> 4 <td class="col-title">Title</td> 5 <td class="col-author">Author</td> 6 <td class="col-date">Date</td> 7 </tr> 8 </thead> 9 <tbody> 10 {{ range $ind, $art := $.Site.Data.articles.article }} 11 <tr> 12 <td><a href="{{$art.url}}" target="_blank">{{$art.title | markdownify }}</a></td> 13 <td>{{ $art.author | markdownify }}</td> 14 <td>{{ $art.date }}</td> 15 </tr> 16 {{ end }} 17 </tbody> 18 </table>