Present tags more nicely

This commit is contained in:
2022-05-27 22:00:24 +09:30
parent cbe455b566
commit f8060fbef6
3 changed files with 6 additions and 3 deletions

View File

@@ -20,7 +20,9 @@
<a href="{{ .URL }}">{{ niceURL .URL }}</a>
</td>
<td>
{{ join .Tags ", " }}
{{ range .Tags }}
<span class="label primary">{{ . }}</span>
{{ end }}
</td>
<td class="show-for-large">{{ (nicetime .TimestampCreated).HumanDuration }} ago</td>
<td class="show-for-large">{{ (nicetime .TimestampLastScraped).HumanDuration }} ago</td>