damnit four
This commit is contained in:
24
themes/kiera/layouts/index.html
Normal file
24
themes/kiera/layouts/index.html
Normal 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 }}
|
Reference in New Issue
Block a user