Cyberpink theme

This commit is contained in:
Nox Sluijtman 2024-02-10 20:53:59 +01:00
parent 807ffac8a0
commit 53560c95d3
15 changed files with 955 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{{ define "main" }}
{{ if .Content }}
<article>
{{ .Content -}}
</article>
{{ else }}
<h1>{{ .Title }}</h1>
{{ end }}
<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 }}