sandvich.xyz/layouts/partials/post-info.html

31 lines
1013 B
HTML
Raw Permalink Normal View History

2022-10-30 19:47:39 -07:00
<table class="info">
<tbody>
<tr class="info-date">
<td><i class="bi bi-clock"></i></td>
<td>{{ dateFormat "2006-01-02" .Date }}</td>
</tr>
<tr class="info-reading-time">
<td><i class="bi bi-hourglass"></i></td>
<td>Reading time {{ .ReadingTime }} min.</td>
</tr>
<tr class="info-tags">
<td><i class="bi bi-tags"></i></td>
<td>
{{ range $k, $v := .Params.tags }}
{{ $url := printf "/tags/%s" (. | urlize) }}
<a class="tag" href="{{ $url }}">{{ . }}</a>
{{ end }}
</td>
</tr>
2024-05-13 23:08:04 -07:00
{{ with .Params.series }}
<td><i class="bi bi-collection"></i></td>
<td>
This post is part of a larger series:
<a class="tag" href="/series/{{ . | urlize }}">
{{ . }}
</a>
</td>
{{ end }}
2022-10-30 19:47:39 -07:00
</tbody>
</table>