Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2232)

Side by Side Diff: lib/godoc/godoc.html

Issue 848042: code review 848042: godoc: support for title and subtitle headers when serv... (Closed)
Patch Set: code review 848042: godoc: support for title and subtitle headers when serv... Created 14 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « doc/style.css ('k') | src/cmd/godoc/godoc.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/transitional.dtd"> 2 "http://www.w3.org/TR/html4/transitional.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
5 5
6 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 6 <meta http-equiv="content-type" content="text/html; charset=utf-8">
7 <title>{Title|html-esc}</title> 7 <title>{Title|html-esc}</title>
8 8
9 <link rel="stylesheet" type="text/css" href="/doc/style.css"> 9 <link rel="stylesheet" type="text/css" href="/doc/style.css">
10 <script type="text/javascript" src="/doc/godocs.js"></script> 10 <script type="text/javascript" src="/doc/godocs.js"></script>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 </div> 126 </div>
127 127
128 <div id="content"> 128 <div id="content">
129 <!-- Menu is HTML-escaped elsewhere --> 129 <!-- Menu is HTML-escaped elsewhere -->
130 {.section Menu} 130 {.section Menu}
131 <div id="menu"> 131 <div id="menu">
132 {@} 132 {@}
133 </div> 133 </div>
134 {.end} 134 {.end}
135 135
136 <h1 id="generatedHeader">{Title|html-esc}</h1> 136 {.section Title}
137 <h1 id="generatedHeader">{@|html-esc}</h1>
138 {.end}
139 {.section Subtitle}
140 <span class="subtitle">{@|html-esc}</span>
141 {.end}
137 142
143 <p>
138 <!-- The Table of Contents is automatically inserted in this <div>. 144 <!-- The Table of Contents is automatically inserted in this <div>.
139 Do not delete this <div>. --> 145 Do not delete this <div>. -->
140 <div id="nav"></div> 146 <div id="nav"></div>
147 </p>
141 148
142 <!-- Content is HTML-escaped elsewhere --> 149 <!-- Content is HTML-escaped elsewhere -->
143 {Content} 150 {Content}
144 </div> 151 </div>
145 152
146 <div id="footer"> 153 <div id="footer">
147 <p>Except as noted, this content is 154 <p>Except as noted, this content is
148 licensed under <a href="http://creativecommons.org/licenses/by/3.0/"> 155 licensed under <a href="http://creativecommons.org/licenses/by/3.0/">
149 Creative Commons Attribution 3.0</a>. 156 Creative Commons Attribution 3.0</a>.
150 </div> 157 </div>
151 158
152 </body> 159 </body>
153 </html> 160 </html>
OLDNEW
« no previous file with comments | « doc/style.css ('k') | src/cmd/godoc/godoc.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b