Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihkel Eidast committed Jan 11, 2020
1 parent 35d0ca8 commit 23650d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ const twigAdapter = require('@frctl/twig')({
// default is false
strict_variables: true,

// define Twig namespaces, see https://github.com/twigjs/twig.js/wiki#namespaces
// this may break some fractal functionality, like including components via their handles and the render tag
namespaces: {
'Components': './components'
},

// register custom filters
filters: {
// usage: {{ label|capitalize }}
Expand Down

0 comments on commit 23650d5

Please sign in to comment.