你想要的 Jekyll 特性可能都没有
中文社区讨论 Clojure 的内容不太多 我来添一份力
直接帖 README
puck
name from Puck(パック Pakku)
What is this
A ~~Clojure toy project~~ useful(to me), as-simple-as-posibble markdown blogging tool.
Features
- Markdown support
- Templates
- Snippets
- Built-in HTTP server
- No Cookies/Sessions support (wat? yeah, it's true, you don't need these things for a weblog)
Things may have
- RSS
- Posts pagination
- HTTPS
Get start
clojure -A:main -w path initclojure -A:main -w path start- check
http://localhost:8080orhttp://localhost:8080/posts/2018-11-01-foo-bar.html
Directory
----
|
|-- assets css, font, favicon etc.
|
|-- conf.edn configration
|
|-- files zip, tar.gz etc.
|
|-- pages md files, e.g. homemd 404md
|
|-- posts md files, e.g. 2018-11-01-foo-barmd
|
|-- snippets html files, e.g. head.html post-list.html
|
|-- templates html files, e.g. post.html page.html
|
|-- www HTTP server root
|
|-- pages html files, pages/homemd > pages/home.html
|
|-- posts html files, posts/2018-11-01-foo-barmd > posts/2018-11-01-foo-bar.html
URL
/posts posts, e.g. /posts/2018-11-01-foo-bar.html by dir/www/posts/2018-11-01-foo-bar.html
/ index, by dir/www/pages/home.html
/404.html not-found page, by dir/www/pages/404.html
CLI
clojure -A:main -h
Credits
- Hitman - Samuel Breese