Skip to content

Commit

Permalink
Expose Twig through Hexo Twig renderer (#7)
Browse files Browse the repository at this point in the history
Expose Twig through Hexo Twig renderer
  • Loading branch information
ablipan authored Nov 19, 2019
2 parents 06151ca + 8487451 commit 6b7af4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ twigRenderer.compile = function(data) {
}
};

twigRenderer.twig = Twig;

module.exports = twigRenderer;

0 comments on commit 6b7af4a

Please sign in to comment.