Added title to list template and removed read more link from summary template.
This commit is contained in:
parent
f1f3cb4dd5
commit
dc98c9024b
2 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="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) -}}
|
{{ $paginator := .Paginate (.Data.Pages) -}}
|
||||||
{{ range $paginator.Pages -}}
|
{{ range $paginator.Pages -}}
|
||||||
{{ .Render "summary"}}
|
{{ .Render "summary"}}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,5 @@
|
||||||
</header>
|
</header>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
<p class="read-more"><a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue