开发者

How to redefine layout for custom page

I use nice a site-generator on ruby nanoc (http://nanoc.stoneship.org/). I need to redefine the layout for rendering some pages. Maybe开发者_如何转开发 it can be determined directly in yaml config?

For example, I have some layout (my_layout.html), but I want to create several blank pages (with blank.html layout).


This is in the doc.

You need to add layout 'blank' in the compile rule for the concerned pages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜