hugo/docs/themes/gohugoioTheme/layouts/shortcodes/articlelist.html

18 lines
423 B
HTML

<table class="utils-table">
<thead>
<tr>
<th class="col-title">Title</td>
<th class="col-author">Author</td>
<th class="col-date">Date</td>
</tr>
</thead>
<tbody>
{{ range $ind, $art := $.Site.Data.articles.article }}
<tr>
<td><a href="{{$art.url}}" target="_blank">{{$art.title | markdownify }}</a></td>
<td>{{ $art.author | markdownify }}</td>
<td>{{ $art.date }}</td>
</tr>
{{ end }}
</tbody>
</table>