diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f106a528..ed817044 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,10 +2,11 @@ {{if .Page.Content}} {{ .Page.Content }} -{{- if .Params.primary_menu }} -{{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }} -{{- end }} + {{- if .Params.primary_menu }} + {{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }} + {{- end }} {{ else }} + {{ if in .Page.Params.Categories "blog" }} {{ partial "partials/blog_index.html" . }} {{ else if in .Page.Params.Categories "article" }} |