diff --git a/README.md b/README.md index 117c31ab..1b6f4139 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ Single pages use the `link` front matter parameter, if any, as the reference for an anchor around the page title, if any. List and term pages show page titles and descriptions per month and year -in descending order. An empty list has a "Nothing Here" header, and no -body. +in descending order. An empty list has a "Nothing here" body. Taxonomy pages list term links in an inline, unordered, sorted list. diff --git a/exampleSite/content/projects/_index.md b/exampleSite/content/projects/_index.md index e69de29b..9f3e82e0 100644 --- a/exampleSite/content/projects/_index.md +++ b/exampleSite/content/projects/_index.md @@ -0,0 +1,3 @@ +--- +title: Projects +--- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9385f920..c8956d4b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,9 +1,4 @@ {{ define "main" }} -{{ if not (or .Title .Description .Content .Pages) }} -
-

Nothing Here

-
-{{ else }}
{{ if or .Title .Description }}
@@ -68,6 +63,8 @@ {{ end }} {{ end }} + {{ if not (or .Content .Pages) }} +

Nothing here

+ {{ end }}
{{ end }} -{{ end }}