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
2 changed files with 1 additions and 1 deletions

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"}}

View file

@ -5,6 +5,5 @@
</header>
<div class="content">
{{ .Summary }}
<p class="read-more"><a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a></p>
</div>
</article>