summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-26 22:40:29 +0200
committermms <michal@sapka.me>2024-04-26 22:40:58 +0200
commit2b72efd749c76b9c3d6a7a5bc310e6c6a530dea8 (patch)
treebd4c4a0b383c3302b0d2e294f500b614202fec12 /layouts/_default/list.html
parent8107766380a121d50cb16c30e6df4db9f9e0d18e (diff)
feat: tidy up
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f106a52..ed81704 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" }}