how to call super() as in Jinja2 ?
gotexis opened this issue · 5 comments
gotexis commented
#{ super() }
doesn't work..
kakulukia commented
i dont recognise that syntax .. please explain, how you did setup your environment and how you are using pypugjs
gotexis commented
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 '
kakulukia commented
so the issue is resolved?
gotexis commented
Yes!
kakulukia commented
Then you should close it.