vugo/layouts/_default/list.html

26 lines
735 B
HTML
Raw Normal View History

2022-08-18 14:17:23 +02:00
{{ define "main" }}
{{ if .Content }}
2022-08-10 15:27:44 +02:00
<article>
2022-08-18 14:17:23 +02:00
{{ .Content -}}
2022-08-10 15:27:44 +02:00
</article>
2022-08-18 14:17:23 +02:00
{{ end }}
<div class="posts">
2022-09-27 23:12:25 +02:00
<table class="post-entry-meta">
2022-08-18 14:17:23 +02:00
{{ range .Paginator.Pages }}
<tr>
<td><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></td>
<td>{{ .Params.Date.Format "2006-01-02" }}</td>
<td>{{ .Params.Author }}</td>
<td > {{ range .Params.tags }} #<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp; {{ end }}</td>
<!--
2022-08-18 14:17:23 +02:00
{{ if and (.Param "readingTime") (eq (.Param "readingTime") true) }}
<td class="post-reading-time">- {{ .ReadingTime }} min read ({{ .WordCount }} words)</td>
2022-08-18 14:17:23 +02:00
{{ end }}
-->
</tr>
{{ end }}
</table>
</div>
2022-08-18 14:17:23 +02:00
{{ partial "pagination.html" . }}
{{ end }}