aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/_default/list.html
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-14 22:49:26 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-14 22:49:26 +0800
commit02b1a87d8fac3a4881968a67274fb825987bc7a0 (patch)
tree085af399922d4c1be7fd35540fcfd7a72fa4b622 /www/layouts/_default/list.html
parent448852a474126c42d6d078d0bb82258b7ecc0750 (diff)
downloadcrupest-02b1a87d8fac3a4881968a67274fb825987bc7a0.tar.gz
crupest-02b1a87d8fac3a4881968a67274fb825987bc7a0.tar.bz2
crupest-02b1a87d8fac3a4881968a67274fb825987bc7a0.zip
www: move layout files for new version of hugo and fix nested shortcodes.
Diffstat (limited to 'www/layouts/_default/list.html')
-rw-r--r--www/layouts/_default/list.html17
1 files changed, 0 insertions, 17 deletions
diff --git a/www/layouts/_default/list.html b/www/layouts/_default/list.html
deleted file mode 100644
index 5bb0b5e..0000000
--- a/www/layouts/_default/list.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{{ define "head"}}
- {{ partial "css.html" "res/css/article.css" }}
-{{ end }}
-
-{{ define "content" }}
- {{ partial "nav.html" . }}
- <h1>{{ .Title }}</h1>
- {{ $pages := .RegularPages }}
- {{ if .Param "recursive" }}
- {{ $pages = .RegularPagesRecursive }}
- {{ end }}
- {{ partial "preview/posts.html" (dict
- "h" "h3"
- "pages" $pages
- )
- }}
-{{ end }}