Skip to content

Personal weblog. using wheat/node.js and git as a backbone.

Notifications You must be signed in to change notification settings

lansea/blog.mklog.fr

 
 

Repository files navigation

This repo holds the actual (well not yet..) articles for my personal blog. Wheat is used as a blog engine which is based on git filefilesystem and written to run in node.js

Install

Even though the wheat engine used is held in this repo, most of wheat dependencies are not. Just run:

npm install wheat

which will take care of that for us. Wheat is nicely packaged.

And then

node app.js

Themes

Slight changes were made to wheat in there to allow the definition of several themes in skin/ directory.

Each theme now has its dedicated repertory that contains all of its haml template & public files (css/js, favicon and so on.).

Wheat can be set up to use a specific theme when requiring and invoking wheat, usually done in the app.js file.

var Connect = require('connect');

module.exports = Connect.createServer(
  Connect.logger(),
  Connect.conditionalGet(),
  Connect.cache(),
  Connect.gzip(),
  require('wheat')(__dirname, {theme: 'themeroller'})
).listen(3000);

Just change the value of the theme configuration options to match a correct theme in the skin/ directory.

Themes as submodules

Default & themeroller themes are set up as git submodules.

To bring them up, just init & update theme using the following command:

git submodule update --init

License

Wheat:

  • Wheat: MIT License

Major components (coming from html5-boilerplate):

  • Modernizr: MIT/BSD license
  • jQuery: MIT/GPL license
  • DD_belatedPNG: MIT license
  • YUI Profiling: BSD license
  • HTML5Doctor CSS reset: Creative Commons 3.0 BY
  • CSS Reset Reloaded: Public Domain

Everything else:

About

Personal weblog. using wheat/node.js and git as a backbone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published