Skip to content

Instantly share code, notes, and snippets.

@paularmstrong
Last active December 21, 2015 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paularmstrong/6238298 to your computer and use it in GitHub Desktop.
Save paularmstrong/6238298 to your computer and use it in GitHub Desktop.
{% block content %}{% endblock %}
{% extends "./extends_bare.html" %}
{% block content %}
{% include "./includes.html" %}
{% endblock %}
var swig = require('swig');
console.log(swig.renderFile(__dirname + '/include.test.html'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment