antidocs theme

This commit is contained in:
Nox Sluijtman 2024-02-11 01:09:03 +01:00
parent 53560c95d3
commit eb4af4bb88
13 changed files with 641 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{{ define "main" }}
<div class="article-head">
<h1>{{ .Title }}</h1>
</div>
{{ if .Content }}
<article>
{{ .Content -}}
</article>
{{ end }}
<div class="posts">
<table>
{{ range .Paginator.Pages }}
<tr>
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
<td>{{ .Params.Author }}</td>
<td class="post-tags"> {{ range .Params.tags }} #<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp; {{ end }}</td>
</tr>
{{ end }}
</table>
</div>
{{ end }}