Skip to content

Instantly share code, notes, and snippets.

@kbsali
Last active December 25, 2015 06:59
Show Gist options
  • Save kbsali/6935983 to your computer and use it in GitHub Desktop.
Save kbsali/6935983 to your computer and use it in GitHub Desktop.
Here is the Jade (http://jade-lang.com/) version of bootstrap's starter-template sample page
!!!
html
head
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(name="description", content="")
meta(name="author", content="")
title Starter Template for Bootstrap
link(rel="stylesheet", type="text/css", href="/css/main.css")
//[if lt IE 9]
script(src="/vendor/assets/js/html5shiv.js")
script(src="/vendor/assets/js/respond.min.js")
//[endif]
body
div(class="navbar navbar-inverse navbar-fixed-top")
div.container
div.navbar-header
button(class="navbar-toggle", type="button", data-toggle="collapse", data-target=".navbar-collapse")
span.icon-bar
span.icon-bar
span.icon-bar
a.navbar-brand(href="/") Project name
div(class="collapse navbar-collapse")
ul(class="nav navbar-nav")
li(class="active")
a(href="#") Home
li
a(href="#about") About
li
a(href="#contact") Contact
div.container
div.starter-template
h1 Bootstrap starter template
p.lead
| Use this document as a way to quickly start any new project.<br>
| All you get is this text and a mostly barebones HTML document.
script(src="/vendor/assets/js/jquery.js")
script(src="/vendor/dist/js/bootstrap.min.js")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment