Skip to content

Instantly share code, notes, and snippets.

@refactorized
Last active May 15, 2019 23:35
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save refactorized/d8d84d545056fb91e4c15ea7eabc56dc to your computer and use it in GitHub Desktop.
Save refactorized/d8d84d545056fb91e4c15ea7eabc56dc to your computer and use it in GitHub Desktop.
Short pug example with useful jquery and bootstrap includes - it's not the only way to do it, but this was is simple and pretty.
doctype=html
html(language=en)
head
//-this is the stuff you want-\\
link(rel="stylesheet", href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css", integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7", crossorigin="anonymous")
link(rel="stylesheet", href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css", integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r", crossorigin="anonymous")
script(src="https://code.jquery.com/jquery-2.2.4.js", integrity="sha256-iT6Q9iMJYuQiMWNd9lDyBUStIq/8PuOW33aOqmvFpqI=", crossorigin="anonymous")
script(src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js", integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS", crossorigin="anonymous")
\\----------------------------//
body
.container
h1 Title, yo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment