mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doctool: improve the title of pages in doc
This commit is contained in:
1 parent
abefdca5ae
commit
b680eb99ad
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>__SECTION__ Node.js __VERSION__ Manual & Documentation</title>
|
||||
<title>__SECTION__ | Node.js __VERSION__ Manual & Documentation</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic">
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
<link rel="stylesheet" href="assets/sh.css">
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ function render(opts, cb) {
|
||||
|
||||
template = template.replace(/__ID__/g, id);
|
||||
template = template.replace(/__FILENAME__/g, filename);
|
||||
template = template.replace(/__SECTION__/g, section);
|
||||
template = template.replace(/__SECTION__/g, section || 'Index');
|
||||
template = template.replace(/__VERSION__/g, nodeVersion);
|
||||
template = template.replace(/__TOC__/g, toc);
|
||||
template = template.replace(
|
||||
|
||||
Reference in new issue
Block a user