Skip to content

Commit

Permalink
Expose Twig through Hexo Twig renderer to allow extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingDR committed Nov 18, 2019
1 parent 06151ca commit 8487451
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 8487451

Please sign in to comment.