在我的一生中,我不知道如何只包括( .pug文件的一个特定部分)。假设我有tutorials.pug
block tut1
p Some tutorial
block tut2
p Some other Tut
block tut3
p And then some other tut然后在我的main.pug里,我想去:
extends tutorials
h2 Hey, enjoy the second Tutorial!
block append tut2没有任何其他街区出现。这件简单的事情不可能吗?
https://stackoverflow.com/questions/47964321
复制相似问题