Created
February 8, 2012 16:54
-
-
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 )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
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 |
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
I am not sure if this is the right approach, so I created a https://github.com/dirkk0/bootstrap_testbed.