diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-24 02:18:20 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-26 02:21:41 +0800 |
commit | 046c71c4c282b7c9dce781c8a1f31c68a1515854 (patch) | |
tree | 48e72e89b22c569d716bf66e746ed4a8a0fbfd98 /www/layouts/_default/list.html | |
parent | 471cacdd706002df81f5bee03729b8fca6c98f37 (diff) | |
download | crupest-046c71c4c282b7c9dce781c8a1f31c68a1515854.tar.gz crupest-046c71c4c282b7c9dce781c8a1f31c68a1515854.tar.bz2 crupest-046c71c4c282b7c9dce781c8a1f31c68a1515854.zip |
feat(www): YEAH!
Diffstat (limited to 'www/layouts/_default/list.html')
-rw-r--r-- | www/layouts/_default/list.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/layouts/_default/list.html b/www/layouts/_default/list.html new file mode 100644 index 0000000..ddc3942 --- /dev/null +++ b/www/layouts/_default/list.html @@ -0,0 +1,12 @@ +{{ define "head"}} + {{ partial "css.html" "partials/preview/article.css" }} +{{ end }} + +{{ define "content" }} + {{ partial "nav.html" . }} + <h1>Posts</h1> + {{ partial "preview/posts.html" (dict + "h" "h3" + "pages" (.RegularPages.ByDate.Reverse.Limit 3)) + }} +{{ end }} |