Skip to content

Instantly share code, notes, and snippets.

@MikSDigital
Created February 10, 2016 18:12
Show Gist options
  • Save MikSDigital/65f6df3a61a65de12c5d to your computer and use it in GitHub Desktop.
Save MikSDigital/65f6df3a61a65de12c5d to your computer and use it in GitHub Desktop.
even possible to use comma to separate values in push statement
- var scripts=[]
- scripts.push('http://fonts.googleapis.com/css?family=Montserrat:400,700','http://fonts.googleapis.com/css?family=Lato:300,400,700,900')
- scripts.push("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css")
each script in scripts
link(href=script rel='stylesheet' type='text/css')
@MikSDigital
Copy link
Author

because push comes from plain javascript, see here https://github.com/pugjs/jade/issues/502 , comment from TJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment