The muon package

[Tags: bsd3, program]

Program which takes blog posts and pages written in Markdown and compiles them into a tree of HTML pages which can then be served by any web server.

Muon is similar in function to Hakyll by has far fewer features (and dependencies) and is generally not ready for use in production as of yet.

[Skip to ReadMe]


Change logNone available
Dependenciesbase (==4.6.*), blaze-html (==0.7.*), directory (==1.2.*), Glob (==0.7.*), HStringTemplate (==0.7.*), markdown (==0.1.*), process (==1.2.*), text (==0.11.*) [details]
CopyrightCopyright (c) 2014 Kaashif Hymabaccus
AuthorKaashif Hymabaccus
Home page;a=summary
Source repositoryhead: darcs get
UploadedSun Apr 13 22:26:58 UTC 2014 by kaashif
Downloads1153 total (51 in last 30 days)
0 []
StatusDocs not available [build log]
Successful builds reported [all 2 reports]


Maintainers' corner

For package maintainers and hackage trustees

Readme for muon-

Muon is a static blog generator, meaning that it takes files written in
convenient markup and converts it to HTML and CSS ready to deploy to a web

First, install the package by getting the darcs repo.

    $ darcs get

You can install it using cabal, which you should have installed.

    $ cd muon
    $ cabal install

After that, assuming you have configured cabal and/or your PATH correctly, muon
should be usable. Here are some things you may want to do:

Using Muon
Initialising a blog:

    $ mkdir new-blog
    $ cd new-blog
    $ muon init

Writing a post:

    $ vi posts/

Regenerating the site, creating a tree of files in the ./site directory.

    $ muon generate

When writing posts, make sure you put the title on the first line, the date on
the second, and a short description (for the archive) on the third line. The
rest should be valid Markdown. See the posts/ directory after site
initialisation for some examples.

The posts are ordered lexicographically, _not_ by date. This means ""
will always come before "", regardless of the date contained in the file.

"muon upload" is currently hardcoded. Stay tuned for per-blog config files.