Little bit of cleanup and stuff

This commit is contained in:
Nox Sluijtman 2023-08-10 04:20:23 +02:00
parent 1d5c9d84c8
commit b836565901
4 changed files with 38 additions and 32 deletions

View file

@ -6,20 +6,16 @@
{{ else }}
<h1>{{ .Title }}</h1>
{{ end }}
<div class="posts">
<table>
<tr>
<th>Title</th>
<th>Tags</th>
<th>Description</th>
</tr>
{{ range .Paginator.Pages }}
<tr>
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a>&nbsp; {{ end }}</td>
<td><p>{{ .Params.description }}</p></td>
</tr>
{{ end }}
</table>
</div>
<table class="posts">
<tr>
<th>Title</th>
<th>Tags</th>
</tr>
{{ range .Paginator.Pages }}
<tr>
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
<td>{{ range .Params.tags }}<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a>&nbsp; {{ end }}</td>
</tr>
{{ end }}
</table>
{{ end }}