gobble-ssi
v0.1.0
Published
Resolve server side includes (SSI) with gobble
Downloads
2
Maintainers
Readme
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