0.1.0 • Published 9 years ago

gobble-ssi v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gobble-ssi

Resolve server side includes with gobble. Experimental, currently only supports file and virtual, but can handle unlimited depth of inclusion.

<!--#include file="shared.html" -->
<!--#include virtual="/includes/header.html" -->

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-ssi

Usage

gobblefile.js

var gobble = require( 'gobble' );
gobble( 'root' ).transform( 'ssi' )

License

MIT. Copyright 2015 Julian Burgess