Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.1 KB

CONTRIBUTING.md

File metadata and controls

39 lines (29 loc) · 1.1 KB

Licensing patches

Since I'm offering this project under the Parity public License, I can only accept patches with compatible licenses. Please indicate in your PR or commit that you're licensing your patch under a permissive license such as APACHE-2.0, MIT, or a BSD license. An easy way to do this is to git commit --signoff.

Developing

docker-compose up watches your code and recompiles on changes.

Liquid template style

For includes with arguments, please use the following style:

{%
  include path/name.ext
    arg1="foo"
    arg2=bar
%}

Please keep your control flow tags at the same indentation, and indent the inner code.

{% if something %}
  ...indented
{% else %}
  ...indented
{% endif %}

In whitespace-sensitive areas (i.e. within/between HTML tags), expand the liquid tags so that the control-flow keywords are aligned:

{% if something
  %}...indented{%
else
  %}...indented{%
endif %}