From 46f2ab37d40e3cc6887d9490e0768d2ef7cb345e Mon Sep 17 00:00:00 2001 From: Martin Hoefling Date: Tue, 14 May 2019 22:28:57 +0200 Subject: File context warning fixed (#153) --- layouts/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts') 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" }}
-- cgit v1.2.3