modified: README.md

This commit is contained in:
harttle
2016-06-24 10:49:33 +08:00
parent 3695eb2d6e
commit e6cd6e4d46
+2 -4
View File
@@ -49,9 +49,7 @@ var html = engine.renderFile("hello.html", {name: 'alice'});
`cache` default to `false`, `extname` default to `.liquid`, `root` default to `""`. `cache` default to `false`, `extname` default to `.liquid`, `root` default to `""`.
## Includes and Layouts ## Includes
### Includes
``` ```
// file: color.liquid // file: color.liquid
@@ -72,7 +70,7 @@ color: 'red' shape: 'circle'
color: 'yellow' shape: 'square' color: 'yellow' shape: 'square'
``` ```
### Layouts ## Layouts
``` ```
// file: default-layout.html // file: default-layout.html