damnit four

This commit is contained in:
2024-10-28 16:26:25 -05:00
parent 44ad8cb367
commit 7966b0bcff
71 changed files with 4338 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{{ define "main" }}
<section id="home">
<ul>
{{ $pages := where site.RegularPages "Type" "posts" }}
{{ $paginator := .Paginate $pages }}
{{ range $index, $page := $paginator.Pages }}
<li {{if eq $index 0}}class="first" {{end}}>
<h1><a href="{{ $page.Permalink }}" title="{{ $page.Title }}">{{ .Title }}</a></h1>
{{ partial "aside" . }}
{{ partial "featured_image" .}}
<p>{{ .Summary }}</p>
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">{{ T "readMore" }}</a>
{{ end }}
</li>
{{ end }}
</ul>
</section>
{{ template "_internal/pagination.html" . }}
{{ end }}