From 2187073396f7a54f6cfa6835e992d962cc4f0fb1 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 22 May 2022 22:06:34 +0200 Subject: Setup title for index page --- layouts/index.html | 5 ++--- 1 file 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) }}
- {{- range $paginator.Pages }} - {{- .Render "teaser" }} - {{- end }} + {{ with .Title }}

{{ . }}

{{ end }} + {{ range $paginator.Pages }}{{- .Render "teaser" }}{{ end }}
{{- end }} {{- end }} -- cgit v1.2.3