first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{{/*
|
||||
A plain table: `headers` (a list) and `rows` (a list of lists). The first
|
||||
cell of each row is its label. Cells take Markdown.
|
||||
*/}}
|
||||
{{ $s := . }}
|
||||
{{ partial "sections/head.html" $s }}
|
||||
<div class="table-scroll">
|
||||
<table class="compare-table">
|
||||
<thead>
|
||||
<tr>{{ range $s.headers }}<th scope="col">{{ . }}</th>{{ end }}</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range $s.rows }}
|
||||
<tr>
|
||||
{{ range $i, $cell := . }}
|
||||
{{ if eq $i 0 }}<th scope="row">{{ $cell | markdownify }}</th>{{ else }}<td>{{ $cell | markdownify }}</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