Skip to content

Commit

Permalink
docs(update): add note on gulp validate task
Browse files Browse the repository at this point in the history
fix #562
  • Loading branch information
talha131 committed Jan 29, 2020
1 parent c976359 commit c9bd536
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions documentation/content/Contributing/jinja-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ Specifically:
- in Jinja print statements, surround the variable with spaces inside curly braces – for example: `{{ foo.bar }}`
- use double (`""`) quotation marks around HTML attributes
- end files with a newline

You can run `gulp validate` task to validate the templates files using [Jinja Ninja](https://github.com/ramonsaraiva/jinjaninja).
It is not comprehensive but it does point out obvious mistakes. You can read more about using `gulp` [here]({filename}./live-reload-gulp.md).

0 comments on commit c9bd536

Please sign in to comment.