diff options
Diffstat (limited to 'layouts/partials/body-article-content.html')
-rw-r--r-- | layouts/partials/body-article-content.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/body-article-content.html b/layouts/partials/body-article-content.html index f4d9698..73f2abf 100644 --- a/layouts/partials/body-article-content.html +++ b/layouts/partials/body-article-content.html @@ -41,6 +41,7 @@ {{ if gt (len $elements) 0}}
<nav class="subpages">
{{- range $elements}}
+ {{- if .File -}}
{{- if and (not .Params.hidden) ( not (hasPrefix .File.BaseFileName "__")) }}
{{$pagetitle := .Title}}
{{if eq $pagetitle ""}}{{$pagetitle = .File.BaseFileName}}{{end}}
@@ -48,6 +49,7 @@ <a title="$pagetitle" href="{{ .RelPermalink}}">{{safeHTML .Params.Pre}}{{$pagetitle}}{{safeHTML .Params.Post}}</a>
</li>
{{- end}}
+ {{- end}}
{{- end}}
</nav>
{{ end }}
|