Static blog generator based on nodejs
CSS JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
test
.gitignore
.travis.yml
LICENSE
Makefile
README.md
cli.js
config.json
index.js
package.json

README.md

Marlboro

Build Status

Intro

Marlboro is lightweight static blog generator based on NodeJS, brother of SBlog

Install

npm install -g marlboro

Usage

  1. First time, you may want to run marlboro to build a new blog environment: --content --deploy --config.json

  2. run cd content, write your post in a file with extname '.mkd' note: posts are archived by folder.

    For example

    1. mkdir test

    2. cd test

    3. touch example.mkd

    4. $EDITOR example.mkd

         ======
    
         title: Title
    
         date: 1970-01-01
    
         tages: seprate, by, comma
    
         ======
    
         Content Here
    
         #Markdown is supported
    
         ```js
         (function(){})(); // Source Code Here;
         ```
     
  3. back to working space & build site run marlboro again.

  4. a file named 'about.mkd' under 'content' will be recognized to be a short introduction about you. In other word, it's not a 'post'.

View Online Demo

TODO

  • disqus
  • pages
  • test unit
  • ...

LICENSE

The BSD License.

Copyright 2013, YuweiBa