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

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.json')
-rw-r--r--layouts/index.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/index.json b/layouts/index.json
index 984aaa7..c0152f3 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -1,5 +1,6 @@
[{{ range $index, $page := .Site.Pages }}
{{- if not (hasPrefix $page.Section "_") -}}
+{{- if not (hasPrefix $page.File.BaseFileName "__") -}}
{{- if ne $page.Type "json" -}}
{{- if and $index (gt $index 0) -}},{{- end }}
{
@@ -11,4 +12,5 @@
}
{{- end -}}
{{- end -}}
+{{- end -}}
{{- end -}}] \ No newline at end of file