diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1bed864..344b4a5 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,9 +1,9 @@ {{ define "main" }}

- {{ if eq .CurrentSection .FirstSection }} + {{ if eq .Parent (.GetPage "/") }} {{ T "list.section" }} {{ else }} - {{ .CurrentSection.Title }} + {{ .Parent.Title }} {{ end }}