further simplify tables
This commit is contained in:
parent
2bf43d91cf
commit
252f7d77ac
@ -22,18 +22,16 @@
|
|||||||
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
<h2><a href="./">Go by Example</a>: {{.Name}}</h2>
|
||||||
{{range .Segs}}
|
{{range .Segs}}
|
||||||
<table>
|
<table>
|
||||||
<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>
|
|
||||||
</table>
|
</table>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .NextExample}}
|
{{if .NextExample}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user