Skip to content

Commit

Permalink
Update templateSyntax.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech authored Jan 24, 2018
1 parent 216ca59 commit e780914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/templateSyntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ We generate getter functions to provide an easier access to survey results. If y
butler{getDatabase}
```
## Conditional directorys and files
Based on the survey you can decide which folders or files should be included or removed. The following example will include the folder when the question about the `database` will be answered with first option `0`.
## Conditional directories and files
Based on the survey you can decide which directories or files should be included or removed. The following example will include the folder when the question about the `database` will be answered with first option `0`.
```
butler{if eq getDatabase (index getDatabaseQuestion.Options 0) } mongodb butler{end}
```
Expand Down

0 comments on commit e780914

Please sign in to comment.