hugo-themes/antidocs/layouts/index.html

22 lines
497 B
HTML
Raw Normal View History

2024-02-11 01:09:03 +01:00
{{ 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 }}