You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handlebars.java is a Java port of [handlebars](http://handlebarsjs.com/).
22
+
Handlebars.java is a Java port of [handlebars](https://handlebarsjs.com/).
26
23
27
24
Handlebars provides the power necessary to let you build semantic templates effectively with no frustration.
28
25
29
-
[Mustache](http://mustache.github.com/mustache.5.html) templates are compatible with Handlebars, so you can take a [Mustache](http://mustache.github.com) template, import it into Handlebars, and start taking advantage of the extra Handlebars features.
26
+
[Mustache](https://mustache.github.io/mustache.5.html) templates are compatible with Handlebars, so you can take a [Mustache](https://mustache.github.io) template, import it into Handlebars, and start taking advantage of the extra Handlebars features.
27
+
28
+
# Requirements
29
+
30
+
- Handlebars 4.3+ requires Java 8 or higher.
31
+
30
32
31
33
# Getting Started
32
-
In general, the syntax of **Handlebars** templates is a superset of [Mustache](http://mustache.github.com) templates. For basic syntax, check out the [Mustache manpage](http://mustache.github.com).
34
+
In general, the syntax of **Handlebars** templates is a superset of [Mustache](https://mustache.github.io) templates. For basic syntax, check out the [Mustache manpage](https://mustache.github.io).
33
35
34
-
The [Handlebars.java blog](http://jknack.github.io/handlebars.java) is a good place for getting started too. Javadoc is available at [javadoc.io](https://javadoc.io/doc/com.github.jknack/handlebars).
36
+
The [Handlebars.java blog](https://jknack.github.io/handlebars.java) is a good place for getting started too. Javadoc is available at [javadoc.io](https://javadoc.io/doc/com.github.jknack/handlebars).
@@ -45,10 +47,6 @@ Handlebars provides the power necessary to let you build semantic templates effe
45
47
</dependency>
46
48
```
47
49
48
-
#### Development version
49
-
50
-
SNAPSHOT versions are NOT synchronized to Central. If you want to use a snapshot version you need to add the https://oss.sonatype.org/content/repositories/snapshots/ repository to your pom.xml.
51
-
52
50
### Loading templates
53
51
Templates are loaded using the ```TemplateLoader``` class. Handlebars.java provides three implementations of a ```TemplateLoader```:
54
52
* ClassPathTemplateLoader (default)
@@ -150,7 +148,7 @@ Example:
150
148
or if you prefer YAML **myTemplates/home.yml**:
151
149
152
150
```yml
153
-
list:
151
+
items:
154
152
- name: Handlebars.java rocks!
155
153
```
156
154
@@ -197,7 +195,7 @@ Please note you don't have to specify the extension file.
197
195
***conditional helpers**
198
196
199
197
### with, each, if, unless:
200
-
See the [built-in helper documentation](http://handlebarsjs.com/block_helpers.html).
198
+
See the [built-in helper documentation](https://handlebarsjs.com/guide/block-helpers.html).
201
199
202
200
### block and partial
203
201
Block and partial helpers work together to provide you [Template Inheritance](http://jknack.github.io/handlebars.java/reuse.html).
0 commit comments