2.0.2 • Published 8 years ago

cftemplate v2.0.2

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
8 years ago

Installation

npm install --global cftemplate

Use

cftemplate form.cftemplate variables.json > form.cform

Template Directives

  • (( publisher/projects@edition )) includes a project from api.commonform.org.

  • (( 543cd5e172cfc6b3c20a0d91855fea44b5bf2fd1da7bf6b7c69f95d6e2705c37 )) includes a form from api.commonform.org.

  • (( require file.cftemplate )) includes another cftemplate.

  • (( require directory/file.cform )) includes a Common Form markup file.

  • (( require other/directories/file.json )) includes a Common Form JSON file

  • (( if x begin ))more markup(( end )) includes more markup only if there is an x template variable and its value is truthy.

  • (( unless x begin ))more markup(( end )) includes more markup only if there isn't any x template variable or its value is falsey.

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.1

9 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago