/misaki

Jekyll inspired static site generator in Clojure

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

misaki logo

Build Status

misaki is a Jekyll inspired static site generator in Clojure.

What's new in Beta

  • Clojurescript
  • Output customize
  • Viewable with smartphone
  • Expand built-in functions

Demo

Example template

;; Define template options here
; @layout  default
; @title   sample template

;; You can define function
(defn h1 [s] [:h1 s])

(h1 (:title site))
[:p "Welcome to misaki world!"]

#-CLJ
(println "google-code-prettify highlight!")
CLJ

Usage

Run sample

$ git clone git://github.com/liquidz/misaki.git
$ cd misaki
$ lein run samples/blog

If you get "java.lang.AssertionError: Assert failed: Can't recur here", please execute rm -rf classes/cljs to remove cljs classes, and run sample again.

Access http://localhost:8080 to check sample.

Make your blog

$ cp -pir samples/blog your-blog
$ lein run your-blog

While running local server, updated template file is compiled automatically.

$ vi your-blog/_template/index.html.clj

Document

http://liquidz.github.com/misaki/

"misaki" means..

"misaki(美咲)" is woman's name in Japan, and it means "Bloom beautifully".

License

Copyright (C) 2013 Masashi Iizuka(@uochan)

Distributed under the Eclipse Public License, the same as Clojure.