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 | 0874dd5d5652f7d710d98329ba111fd69e7d8fce (patch) | |
tree | d07e51b0f743d796d8e680530d2d2811565dac2b /www/layouts/_default/list.html | |
parent | 46e66fefdf1affe6062ab498a28d766ef0e5d0c3 (diff) | |
download | crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.gz crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.bz2 crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.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 }} |