Coder Social home page Coder Social logo

dmotz / jade-html5-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
112.0 9.0 78.0 177 KB

HTML5 Boilerplate ported to Jade. Great as a drop and go markup skeleton for Express apps.

License: MIT License

Shell 100.00%
html5-boilerplate jade pug html boilerplate template express

jade-html5-boilerplate's Introduction

Jade HTML5 Boilerplate

Simple port of HTML5 Boilerplate to Jade

Dan Motzenbecker

All credit goes to the original contributors.

Discretionary portions of the original HTML5 Boilerplate are included, but left as unbuffered comments by default. Uncomment to enable them.

layout.jade uses Express-based resource paths, while layout_vanilla.jade uses the originals.

Run ./build to output the templates as HTML files.

Run ./test to test the template renderings against references.

Tested with Jade 1.1.5.

jade-html5-boilerplate's People

Contributors

dmotz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jade-html5-boilerplate's Issues

Bug in html tag

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.

This project seems outdated? Start using Expressling!

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!

Escape issues

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

Double-Escaped Script tag on line 33

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.