diff --git a/layouts/404.html b/layouts/404.html index 97d0f52..2582013 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -4,7 +4,7 @@

404: Page not found

-

Sorry, this page doesn't exist :-(

+

Unfortunately, this page does not exist.

{{ end }} \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9775721..7fc7365 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,9 +1,15 @@ {{ define "main" }} +{{ $Pages := .Pages }} + +{{ if .IsHome }} + {{ $Pages = where site.RegularPages "Type" "in" site.Params.mainSections }} +{{ end }} +

{{ .Title | default "Posts" }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4ff1edb..c718dbb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,4 +8,4 @@ {{ .Content }} -{{ end }} \ No newline at end of file +{{ end }}