diff --git a/layouts/index.html b/layouts/index.html index f18a170..c324436 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -55,6 +55,7 @@ {{ range sort $pages "Params.weight" }} {{ if ne .Name "contact.md" }} + {{ if .File }} {{ if eq .File.Dir "projects/" }} {{ partial "home/projects.html" . }} @@ -95,6 +96,7 @@ {{ end }} {{ end }} {{ end }} + {{ end }} {{ with .Resources.GetMatch "contact.md" }}