summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-19 15:33:26 +0200
committermms <michal@sapka.me>2024-05-19 15:33:26 +0200
commitf4bb92435d069f84ce41d4ecae51641872de2270 (patch)
treee830735f772bd789473884dafbeabc8cad63dc8f /layouts/_default/list.html
parente25abc08a5d3e7b94b638d837d26acbc0b79f14b (diff)
feat: themes
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html26
1 files changed, 0 insertions, 26 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
deleted file mode 100644
index 2b045b8..0000000
--- a/layouts/_default/list.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{{ define "main" }}
-
-{{if .Page.Content}}
- {{ .Page.Content }}
- {{- if .Params.primary_menu }}
- {{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }}
- {{- end }}
-
- {{ partial "single/dates.html" . }}
-{{ else }}
-
- {{ if in .Page.Params.Categories "blog" }}
- {{ partial "partials/blog_index.html" . }}
- {{ else if in .Page.Params.Categories "article" }}
- {{ partial "partials/article_index.html" . }}
- {{ else }}
-
- <h2>Articles</h2>
- {{ range .Data.Pages }}
- {{ partial "partials/article_list_item.html" . }}
- {{ end }}
-
- {{ end }}
-{{end}}
-
-{{ end }}