Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Created February 8, 2012 16:54
Show Gist options
  • Save dirkk0/1771035 to your computer and use it in GitHub Desktop.
Save dirkk0/1771035 to your computer and use it in GitHub Desktop.
layout.jade for Twitters Bootstrap 2 (kudos httpwww.andyjarrett.co.ukblogindex.cfm20111221layoutjade-for-Twitters-Bootstrap )
!!!
html
head
title= title
link(rel='stylesheet', href='/bootstrap.css')
link(rel='stylesheet', href='/bootstrap-responsive.css')
body
div.navbar.navbar-fixed-top
div.navbar-inner
div.container
a(data-toggle='collapse',data-target='.nav-collapse').btn.btn-navbar
span.icon-bar
span.icon-bar
span.icon-bar
a(href='#').brand #{title}
div.nav-collapse
ul.nav
li.active
a(href='#') Home
li
a(href='#') Blog
li
a(href='#') Contact
div.container!= body
footer
p © Company 2011
@dirkk0
Copy link
Author

dirkk0 commented Feb 11, 2012

I am not sure if this is the right approach, so I created a https://github.com/dirkk0/bootstrap_testbed.

@SeraphimSerapis
Copy link

I've updated this for 2.0.4 and made some kind of usable template for Express & Jade out of it: https://github.com/SeraphimSerapis/Bootstrap-for-Jade - thanks for your work!

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