summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 827bdc9..a7b0668 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,8 @@
{{ define "main" }}
+{{if .Page.Content}}
+ {{ .Page.Content }}
+{{ else }}
{{ if in .Page.Params.Categories "blog" }}
{{ partial "partials/blog_index.html" . }}
{{ else if in .Page.Params.Categories "article" }}
@@ -12,4 +15,6 @@
{{ end }}
{{ end }}
+{{end}}
+
{{ end }}