clean up table rendering
This commit is contained in:
parent
fffe490d49
commit
2bf43d91cf
@ -21,17 +21,17 @@
|
|||||||
<div class="example" id="{{.Id}}">
|
<div class="example" id="{{.Id}}">
|
||||||
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
||||||
{{range .Segs}}
|
{{range .Segs}}
|
||||||
<table cellspacing="0" cellpadding="0">
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{range .}}
|
{{range .}}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="docs">
|
<td class="docs">
|
||||||
{{.DocsRendered}}
|
{{.DocsRendered}}
|
||||||
</td>
|
</td>
|
||||||
<td class="code{{if .CodeEmpty}} empty{{end}}{{if .CodeLeading}} leading{{end}}">
|
<td class="code{{if .CodeEmpty}} empty{{end}}{{if .CodeLeading}} leading{{end}}">
|
||||||
{{.CodeRendered}}
|
{{.CodeRendered}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user