Please make sure to follow the code style of the existing code base.


  • use single ('') rather than double ("") quotation marks for Jinja strings
  • in Jinja print statements, surround the variable with spaces inside curly braces – for example: {{ }}
  • 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. It is not comprehensive but it does point out obvious mistakes. You can read more about using gulp here.

Like this post? Share on: TwitterFacebookEmail

Talha Mansoor Avatar Talha Mansoor is the creator and lead developer of Elegant theme.


Last Updated



Stay in Touch

Get New Release Alert