Skip to content

Commit

Permalink
Merge pull request #2949 from hexojs/use-swig-templates
Browse files Browse the repository at this point in the history
refactor(swig): replace swig by swig-templates
  • Loading branch information
JLHwung authored Jan 14, 2018
2 parents db081ab + db1bb1e commit b0c6508
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/renderer/swig.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var swig = require('swig');
var swig = require('swig-templates');
var extras = require('swig-extras');
var forTag = require('swig/lib/tags/for');
var forTag = require('swig-templates/lib/tags/for');

extras.useTag(swig, 'markdown');
extras.useTag(swig, 'switch');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"nunjucks": "^3.0.1",
"pretty-hrtime": "^1.0.2",
"strip-indent": "^1.0.1",
"swig": "1.4.2",
"swig-extras": "0.0.1",
"swig-templates": "^2.0.2",
"text-table": "^0.2.0",
"tildify": "^1.2.0",
"titlecase": "^1.1.2",
Expand Down

0 comments on commit b0c6508

Please sign in to comment.