summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html3
-rw-r--r--layouts/_default/single.html6
2 files changed, 7 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a7b0668..f106a52 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -2,6 +2,9 @@
{{if .Page.Content}}
{{ .Page.Content }}
+{{- 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" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 1efacb3..0ac881c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -39,5 +39,7 @@
<a href="{{ .RelPermalink }}">{{ or .Page.Params.shortname .Page.Name }}</a> &rarr;
{{ end }}
{{ end }}
-{{ end }}
-
+{{- if .Params.primary_menu }}
+{{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }}
+{{- end }}
+{{- end }}