Initial commit

This commit is contained in:
Nox Sluijtman 2023-08-10 03:39:50 +02:00
commit 07a9f6baba
13 changed files with 875 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{{ define "main" }}
{{ if .Content }}
<article>
{{ .Content -}}
</article>
{{ 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 class="tag" href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp; {{ end }}</td>
<td><p>{{ .Params.description }}</p></td>
</tr>
{{ end }}
</table>
</div>
{{ end }}