How to pass a variable to a layout?

前端 未结 5 2076
时光说笑
时光说笑 2021-02-05 14:27

I have a two versions of my application layout, which are differs only in a few lines. Consider following example:

!!!    
%html
    %head
        # a lot of cod         


        
5条回答
  •  孤街浪徒
    2021-02-05 15:03

    What about this http://snippets.dzone.com/posts/show/236 in order to conditionally select layouts?

提交回复
热议问题