Skip to content

Instantly share code, notes, and snippets.

Created October 30, 2015 09:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
jade example for website <head> sections, used in grunt-init template
//- head section for pages
- var sizes = ["180x180", "152x152", "144x144", "120x120", "57x57"]
mixin write_apple_favicons(sizes_array)
each s in sizes_array
sizes= s
meta(name="description", content="")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="IE=edge")
block title
title #{company name}
meta(name="msapplication-TileColor", content="ffffff")
meta(name="msapplication-TileImage", content="/icon/ms-icon-144x144.png")
link(rel="icon", sizes="32x32", href="/icon/favicon-32x32.png")
// if lt IE 9
<script src=""></script>
<script src=""></script>
block stylesheets
link(rel="stylesheet", href="//")
link(rel="stylesheet", href="css/main.css")
link(rel="stylesheet", media="not print", href="css/mq.css")
link(rel="stylesheet", href="css/animate.css")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment