summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index a9c9279..01deb99 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -18,9 +18,8 @@
{{- else }}
{{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
<div class="articles">
- {{- range $paginator.Pages }}
- {{- .Render "teaser" }}
- {{- end }}
+ {{ with .Title }}<h1 class="page-title">{{ . }}</h1>{{ end }}
+ {{ range $paginator.Pages }}{{- .Render "teaser" }}{{ end }}
</div>
{{- end }}
{{- end }}