kakulukia/pypugjs

how to call super() as in Jinja2 ?

gotexis opened this issue · 5 comments

#{ super() }

doesn't work..

i dont recognise that syntax .. please explain, how you did setup your environment and how you are using pypugjs

Haha thanks for the prompt response.

I believe in jinja2 we need to call { super() } to include the parent block's content.

After digging into the pug documentations, I figured the correct syntax is ' block extend '

so the issue is resolved?

Yes!

Then you should close it.