Skip to content

A leiningen plugin for Misaki, a Jekyll inspired static site generator for Clojure

Notifications You must be signed in to change notification settings

skuro/lein-misaki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lein-misaki

A Leiningen plugin for Misaki, a Jekyll inspired static site generator

Usage

Create a mysite folder and put a _config.clj file in it. The minimal configuration is an empty clojure map, i.e. {}

Read the Misaki default structure to learn how to lay down your site sources, or peek at the sample to see all the available options.

Put [lein-misaki "0.1.5-SNAPSHOT"] into the :plugins vector of your :user profile, or if you are on Leiningen 1.x do lein plugin install lein-misaki 0.1.5-SNAPSHOT.

You can launch with

$ lein misaki

to compile the static site resources and serve it with an embedded Jetty, or

$ lein misaki --compile

to only compile the static site.

Custom misaki plugins

When using lein-misaki you don't have an active leiningen project to refer to. As such, you need a way to include compiler plugins in the current classpath. With lein-misaki you can specify the following entry in yout profiles.clj to load custom plugins into the classpath:

{
  ...
  :misaki-dependencies [[misaki-clostache "0.0.1-alpha"]]
}

License

Copyright © 2012 Carlo Sciolla

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

About

A leiningen plugin for Misaki, a Jekyll inspired static site generator for Clojure

Resources

Stars

Watchers

Forks

Packages

No packages published