summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMicheil Smith <micheil@brandedcode.com>2010-10-29 07:00:28 +1100
committerRyan Dahl <ry@tinyclouds.org>2010-10-28 14:59:15 -0700
commitc9f656baa9df73088af934c9b33cf3e407e9cf02 (patch)
treee33684fd70cb86a6e514898ce7fb897f6e567738 /doc
parentd4f1e6a0236eac1f347a0130e1557656dc6aaef1 (diff)
downloadnodejs-c9f656baa9df73088af934c9b33cf3e407e9cf02.tar.gz
nodejs-c9f656baa9df73088af934c9b33cf3e407e9cf02.tar.bz2
nodejs-c9f656baa9df73088af934c9b33cf3e407e9cf02.zip
More simplification of the templating & rendering.
Diffstat (limited to 'doc')
-rw-r--r--doc/template.html (renamed from doc/template_page.html)4
-rw-r--r--doc/template_index.html21
2 files changed, 2 insertions, 23 deletions
diff --git a/doc/template_page.html b/doc/template.html
index 240ca9d9c..dfbf7f0d9 100644
--- a/doc/template_page.html
+++ b/doc/template.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>{{section}} - Node.js Manual &amp; Documentation</title>
+ <title>{{section}}Node.js Manual &amp; Documentation</title>
<link rel="stylesheet" href="assets/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="assets/sh.css" type="text/css" media="all"/>
<script type="text/javascript" src="assets/jquery.js"></script>
@@ -11,7 +11,7 @@
<header>
<h1>Node.js Manual &amp; Documentation</h1>
<div id="gtoc">
- <p><a href="index.html">Table of Contents</a></p>
+ <p><a href="index.html">Table of Contents</a> | <a href="all.html">View on single page</a></p>
</div>
<hr />
</header>
diff --git a/doc/template_index.html b/doc/template_index.html
deleted file mode 100644
index 56b42ab4d..000000000
--- a/doc/template_index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Node.js Manual &amp; Documentation</title>
- <link rel="stylesheet" href="assets/style.css" type="text/css" media="all" />
- <link rel="stylesheet" href="assets/sh.css" type="text/css" media="all"/>
- <script type="text/javascript" src="assets/jquery.js"></script>
-</head>
-<body>
- <div id="container">
- <header>
- <h1>Node.js Manual &amp; Documentation</h1>
- <hr />
- </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" src="assets/core.js"></script>
-</body>
-</html> \ No newline at end of file