Added title to list template and removed read more link from summary template.

This commit is contained in:
Fredrik Jonsson 2017-05-22 00:16:50 +02:00
commit dc98c9024b

View file

@ -4,6 +4,7 @@
{{ define "main" -}}
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
<h1 class="title">{{ .Title }}</h1>
{{ $paginator := .Paginate (.Data.Pages) -}}
{{ range $paginator.Pages -}}
{{ .Render "summary"}}