1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

HTML5 cleanup.

* remove type for css and js since they're the defaults
* remove chrome=1 from X-UA-Compatible since it's become obsolete
* use the protocol relative URL for the google font
This commit is contained in:
XhmikosR 2013-10-30 19:35:52 +02:00
parent 6042281d6d
commit 19a96450c0
2 changed files with 13 additions and 18 deletions

View File

@ -15,15 +15,15 @@
</div><!-- /container -->
<script type="text/javascript" src="/javascripts/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/javascripts/jquery.qtip.min.js"></script>
<script src="/javascripts/jquery-1.10.2.min.js"></script>
<script src="/javascripts/jquery.qtip.min.js"></script>
{% if page.layout == "license" %}
<script type="text/javascript" src="/javascripts/ZeroClipboard.min.js"></script>
<script src="/javascripts/ZeroClipboard.min.js"></script>
{% endif %}
<script type="text/javascript" src="/javascripts/annotations.js"></script>
<script type="text/javascript" src="/javascripts/app.js"></script>
<script src="/javascripts/annotations.js"></script>
<script src="/javascripts/app.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

View File

@ -1,25 +1,20 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title}}</title>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
{% if page.description %}
<meta name="description" content="{{ page.description | strip_html }}">
{% endif %}
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link type="text/css" href="/css/application.css" media="screen" rel="stylesheet">
<link type="text/css" href="/css/jquery.qtip.min.css" media="screen" rel="stylesheet">
<script type="text/javascript" src="/javascripts/modernizr.js"></script>
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900">
<link rel="stylesheet" href="/css/application.css" media="screen">
<link rel="stylesheet" href="/css/jquery.qtip.min.css" media="screen">
<script src="/javascripts/modernizr.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src='/javascripts/selectivizr-min.js' type='text/javascript'></script>
<script src="/javascripts/selectivizr-min.js"></script>
<![endif]-->
</head>