因此,要修改编译后的模板代码的样子,我们只需要创建一个新的骨架文件并进行自己想要的定制即可,但是仍然要在原来的地方保留基本的元素。
So, to change what the compiled template code looks like, we just have to create a new skeleton file and perform whatever customization we want, but still leave these basic elements in place.
骨架文件就是描述编译后的JET模板样子的一个模板。
A skeleton file is a template which describes what the compiled JET template will look like.
要创建一个定制的骨架,在 custom.skeleton 模板目录中创建一个新文件,如清单 6 所示。
To create a custom skeleton, create a new file in the templates directory called custom.skeleton as shown in Listing 6.
应用推荐