hugo-theme-toastersrocks/layouts/index.html

21 lines
559 B
HTML
Raw Normal View History

2020-11-29 02:41:06 +00:00
{{ define "main" }}
<article>
<h2>{{ .Title }}</h2>
{{ .Content }}
</article>
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
{{ if not .Params.IsPage }}
{{ partial "articlehead.html" . }}
<h2><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<p>{{ .Description }}</p>
{{ partial "metadata.html" . }}
</div>
<p>{{ .Summary }}</p>
{{ if .Truncated }}
<p><a href="{{ .RelPermalink }}">{{ i18n "readmore" }}</a></p>
{{ end }}
</article>
{{ end }}
{{ end }}
{{ template "_internal/pagination.html" . }}
{{ end }}