mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 06:20:38 -07:00
docs: make it clear for extnames, see #214
This commit is contained in:
@@ -25,6 +25,10 @@ color: 'red' shape: 'circle'
|
||||
color: 'yellow' shape: 'square'
|
||||
```
|
||||
|
||||
{% note tip ".liquid" 文件扩展名 %}
|
||||
如果设置了 `extname: ".liquid"` 选项,就可以省略 <code>layout</code>, <code>render</code> 和 <code>include</code> 里面文件名的 ".liquid" 后缀。详情请参考 <a href="./options.html#extname">extname 选项</a>。
|
||||
{% endnote %}
|
||||
|
||||
## 布局模板(模板继承)
|
||||
|
||||
对于如下两个模板文件:
|
||||
|
||||
Reference in New Issue
Block a user