Answers for "pug documentation"

0

pug documentation

//- page-a.pug
extends layout.pug

block scripts
  script(src='/jquery.js')
  script(src='/pets.js')

block content
  h1= title
  - var pets = ['cat', 'dog']
  each petName in pets
    include pet.pug
Posted by: Guest on October-12-2021
0

pug documentation

//- layout.pug
html
  head
    title My Site - #{title}
    block scripts
      script(src='/jquery.js')
  body
    block content
    block foot
      #footer
        p some footer content
Posted by: Guest on October-12-2021

Browse Popular Code Answers by Language