diff options
author | Martin Hoefling <martinhoefling@users.noreply.github.com> | 2019-05-14 23:28:57 +0300 |
---|---|---|
committer | Hanzei <16541325+hanzei@users.noreply.github.com> | 2019-05-14 23:28:57 +0300 |
commit | 46f2ab37d40e3cc6887d9490e0768d2ef7cb345e (patch) | |
tree | fac0d7253b1980a308298037d6f1a74c1a844e0d /layouts | |
parent | 4c19d875de252c3d597b548d4606539c3f783e2e (diff) |
File context warning fixed (#153)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
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/" }} <!-- Now for some cool projects --> {{ partial "home/projects.html" . }} @@ -95,6 +96,7 @@ {{ end }} {{ end }} {{ end }} + {{ end }} <!-- Let`s chat, shall we? --> {{ with .Resources.GetMatch "contact.md" }} <div class="section" id="{{ .File.TranslationBaseName }}"> |