summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-04-08 19:48:14 +0200
committermms <michal@sapka.me>2024-04-08 19:48:14 +0200
commit47be93b724133b1edeac15faa46f1198557e33e3 (patch)
tree8b57592eeacf08b3d676a24dd4780179efdd5ad3 /layouts/_default
parentb03f4fa221852d6a264ceee3e08c04aeeef93928 (diff)
feat: bsd hist as section and st 5x20
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 }}