Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
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 }}">