You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{{ define "main" }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ if eq .Paginator.PageNumber 1 }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ partial "content.html" .Content }}
|
|
|
|
<hr>
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Paginator.Pages }}
|
|
|
|
<article>
|
|
|
|
<header>
|
|
|
|
<h2><a href="{{ .RelPermalink }}">{{ partial "content.html" .Title }}</a></h2>
|
|
|
|
{{ partial "metadata.html" . }}
|
|
|
|
</header>
|
|
|
|
<br>
|
|
|
|
{{ partial "content.html" .Content | truncate 500 }} <a href="{{ .RelPermalink }}">Read more »</a>
|
|
|
|
</article>
|
|
|
|
<br>
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
{{ end }}
|