docs: make it clear for extnames, see #214

This commit is contained in:
harttle
2020-04-03 23:08:09 +08:00
parent 5099b2a762
commit f6789f517c
4 changed files with 17 additions and 9 deletions
@@ -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 %}
## 布局模板(模板继承)
对于如下两个模板文件: