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 }}
|
2022-09-26 19:23:45 +02:00
|
|
|
<div class="posts">
|
|
|
|
<table class="post-meta">
|
2022-08-18 14:17:23 +02:00
|
|
|
{{ range .Paginator.Pages }}
|
2022-09-26 19:23:45 +02:00
|
|
|
<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> {{ end }}</td>
|
|
|
|
<!--
|
2022-08-18 14:17:23 +02:00
|
|
|
{{ if and (.Param "readingTime") (eq (.Param "readingTime") true) }}
|
2022-09-26 19:23:45 +02:00
|
|
|
<td class="post-reading-time">- {{ .ReadingTime }} min read ({{ .WordCount }} words)</td>
|
2022-08-18 14:17:23 +02:00
|
|
|
{{ end }}
|
2022-09-26 19:23:45 +02:00
|
|
|
-->
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-08-18 14:17:23 +02:00
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ end }}
|