first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{{ $s := . }}
|
||||
{{ partial "sections/head.html" $s }}
|
||||
<div class="table-scroll">
|
||||
<table class="compare-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
{{ range $s.headers }}<th>{{ . }}</th>{{ end }}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range $s.rows }}
|
||||
{{ $n := len .cells }}
|
||||
<tr>
|
||||
<th>{{ .label }}</th>
|
||||
{{ range $i, $cell := .cells }}
|
||||
{{ if eq (add $i 1) $n }}
|
||||
<td class="good">{{ $cell }}</td>
|
||||
{{ else }}
|
||||
<td class="bad">{{ $cell }}</td>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{ if $s.ctas }}<div class="cta-row mt-2">{{ partial "sections/ctas.html" $s.ctas }}</div>{{ end }}
|
||||
Reference in New Issue
Block a user