In Pug, to extend a layout, you use the extends keyword and to fill a block within the layout, you use the ______ keyword.

  • include
  • fill
  • block
  • insert
In Pug, the extends keyword is used to extend a layout, and the block keyword is used to fill a block within the layout. This allows you to create modular and reusable templates. The other options do not serve the same purpose in Pug.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *