Docs template: HTML cleanup
Remove references to `/favicon.ico` as it’s the default in all browsers. More info: http://mathiasbynens.be/notes/rel-shortcut-icon `type=text/css` and `media=all` are the implied defaults for `<link rel=stylesheet>` (and `<style>`), so omit these attributes. Similarly, `type=text/javascript` is the default for `<script>` elements, so omit these attributes.
This commit is contained in:
parent
cf89beec6f
commit
456dafc3c6
@ -3,10 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{section}}Node.js v0.6.3 Manual & Documentation</title>
|
||||
<link type="image/x-icon" rel="icon" href="/favicon.ico" />
|
||||
<link type="image/x-icon" rel="shortcut icon" href="/favicon.ico" />
|
||||
<link rel="stylesheet" href="assets/style.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" href="assets/sh.css" type="text/css" media="all"/>
|
||||
<link rel="stylesheet" href="assets/style.css" />
|
||||
<link rel="stylesheet" href="assets/sh.css" />
|
||||
<link rel="canonical" href="http://nodejs.org/docs/latest/api/{{filename}}.html"/>
|
||||
</head>
|
||||
<body>
|
||||
@ -20,8 +18,8 @@
|
||||
</header>
|
||||
{{content}}
|
||||
</div>
|
||||
<script type="text/javascript" src="assets/sh_main.js"></script>
|
||||
<script type="text/javascript" src="assets/sh_javascript.min.js"></script>
|
||||
<script type="text/javascript">highlight(undefined, undefined, 'pre');</script>
|
||||
<script src="assets/sh_main.js"></script>
|
||||
<script src="assets/sh_javascript.min.js"></script>
|
||||
<script>highlight(undefined, undefined, 'pre');</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user