开发者

How to make inheritance template in Pyrocms?

Pyrocms is using Dwoo template engine.

In Dwoo, we can make inheritance template. {extends "default.html"}'

but, I can't do this开发者_如何学JAVA in pyrocms that using Dwoo.


That wouldn't work. We only use Dwoo to allow dynamic syntax in the themes and written content.

What are you trying to achieve? The idea is you make multiple layouts and any shared content is put into partials, then you can load them using {theme_view('partialname')}

All of that stuff is a bit of a mess in v0.9.9.7, we've cleaned up the themes and syntax a LOT for v1.0 :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜