vergun / pine-needles

Static site generator for Pine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pine_Needles

Static site generator for Pine

After git clone, run:

npm install

Once packages are installed, you need to edit xmldoc. Open node_modules/xmldoc/lib/xmldoc.js

Around line 123 you should see:

if (trimVal.length > 25)
    trimVal = trimVal.substring(0,25).trim() + "…";

Comment out those lines (we don't want it to shorten our content during conversion).

You need to convert the content from Mindtouch XML files to Wintersmith recognizable markdown files. Use convert.js script for this.

Run:

node convert

This should convert the page.xml files in /content/articles to the appropriate markdown files.

Now, you can build the site.

wintersmith build

TODOs:

  • anchor tags with relative href need to be updated
  • design/develop/implement templates
  • lots more…

About

Static site generator for Pine

License:Other


Languages

Language:JavaScript 38.0%Language:CSS 31.7%Language:CoffeeScript 30.3%