gobble-ssi

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i gobble-ssi

Weekly Downloads

8

Version

0.1.0

License

MIT

Last publish

Collaborators

  • aubergene