dmotz / jade-html5-boilerplate Goto Github PK
View Code? Open in Web Editor NEWHTML5 Boilerplate ported to Jade. Great as a drop and go markup skeleton for Express apps.
License: MIT License
HTML5 Boilerplate ported to Jade. Great as a drop and go markup skeleton for Express apps.
License: MIT License
There are some escaping issues with your templates. Try them out with fresh Express install and latest Jade, there's an extra ')
that renders on the page, investigating that and looking for what's causing it will show you where all the html escaping is going wrong.
There's a gist that has been maintained for the latest h5bp in jade here: https://gist.github.com/888338
This issue is present in layout_vanilla.jade and layout.jade.
line 33: - window.jQuery || document.write('<script src="javascripts/vendor/jquery-1.9.1.min.js"><\\/script>')
line 33: + window.jQuery || document.write('<script src="javascripts/vendor/jquery-1.9.1.min.js"><\/script>')
If connecting to the Google CDN fails, the backup version will trigger but be improperly closed, preventing the first script below it from loading.
Hi...
Using this boilerplate is leaving an unmatched -->
at the end of the rendered HTML. It displays on the DOM.
There is a bug when you want to convert h5bp to html
doctype
//if lt IE 7
html.no-js.lt-ie9.lt-ie8.lt-ie7
//if IE 7
html.no-js.lt-ie9.lt-ie8
//if IE 8
html.no-js.lt-ie9
//[if gt IE 8]><!
html.no-js
//<![endif]
head
converted to
<!DOCTYPE html><!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"></html><![endif]--><!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"></html><![endif]--><!--[if IE 8]>
<html class="no-js lt-ie9"></html><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
Html closed each time !
I have the same problem in my project and could't find a solution in jade.
Hello!
I see we have some overlap with a boilerplate for Node.js --
In addition to being compatible with node 0.6.3
, Expressling is kept up to date and contains a full MVC-style framework with routes/views/auth/db/sessions.
If possible, could your watchers/contributors help to merge options/features with Expressling?
We plan to continually improve and stay updated with Expressling :-).
Hop over to #expressling in Freenode and we can have a chat!
Would be great to be able to extends the layout with extend syntax.
I've created a fork of your work to do that
Just a beginning
https://github.com/sinsunsan/jade-html5-boilerplate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.