|
13 | 13 | stub-columns = 1
|
14 | 14 |
|
15 | 15 | [[row]]
|
16 |
| - |
17 |
| -[[row.column]] |
18 |
| -body = 'Project' |
19 |
| - |
20 |
| -[[row.column]] |
21 |
| -body = 'Available Packages' |
22 |
| - |
23 |
| -[[row.column]] |
24 |
| -body = 'Download location' |
| 16 | +column = [ |
| 17 | + "Project", |
| 18 | + "Available Packages", |
| 19 | + "Download location" |
| 20 | +] |
25 | 21 |
|
26 | 22 | [[row]]
|
27 |
| - |
28 |
| -[[row.column]] |
29 |
| -body = 'NumPy' |
30 |
| - |
31 |
| -[[row.column]] |
32 |
| -body = '''Official *source code* (all platforms) and *binaries* for<br /> |
33 |
| -**Windows**, **Linux**, and **Mac OS X**''' |
34 |
| - |
35 |
| -[[row.column]] |
36 |
| -body = '[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)' |
| 23 | +column = [ |
| 24 | + "NumPy", |
| 25 | + "Official *source code* (all platforms) and *binaries* for<br/>\n**Windows**, **Linux**, and **Mac OS X**\n", |
| 26 | + "[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)" |
| 27 | +] |
37 | 28 |
|
38 | 29 | [[row]]
|
39 |
| - |
40 |
| -[[row.column]] |
41 |
| -body = 'SciPy' |
42 |
| - |
43 |
| -[[row.column]] |
44 |
| -body = '''Official *source code* (all platforms) and *binaries* for<br /> |
45 |
| -**Windows**, **Linux**, and **Mac OS X**''' |
46 |
| - |
47 |
| -[[row.column]] |
48 |
| -body = '''[SciPy release page](https://github.com/scipy/scipy/releases) (sources)<br /> |
49 |
| -[PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)''' |
| 30 | +column = [ |
| 31 | + "SciPy", |
| 32 | + "Official *source code* (all platforms) and *binaries* for<br/>\n**Windows**, **Linux** and **Mac OS X**\n", |
| 33 | + "[SciPy release page](https://github.com/scipy/scipy/releases) (sources)<br/>\n[PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)\n" |
| 34 | +] |
50 | 35 |
|
51 | 36 | {{< /tomlToTable >}}
|
52 | 37 |
|
|
74 | 59 | {{- if $header }}<thead>
|
75 | 60 | {{- range $row_idx, $row := $header }}
|
76 | 61 | {{ if (modBool $row_idx 2) }}<tr class="row-odd">{{- else }}<tr class="row-even">{{- end }}
|
77 |
| - {{- range $col_idx, $col := .column }} |
| 62 | + {{- range $col_idx, $col := $row.column }} |
78 | 63 | {{- $alignment := or (index $align $col_idx) "left" }}
|
79 | 64 | <th class="head" style="text-align:{{ $alignment }}">
|
80 |
| - {{ $col.body | markdownify }} |
| 65 | + {{ $col | markdownify }} |
81 | 66 | </th>
|
82 | 67 | {{- end }}
|
83 | 68 | </tr>
|
|
87 | 72 | <tbody>
|
88 | 73 | {{- range $row_idx, $row := $body }}
|
89 | 74 | {{ if (modBool (add $row_idx $headerrows) 2) }}<tr class="row-odd">{{- else }}<tr class="row-even">{{- end }}
|
90 |
| - {{- range $col_idx, $col := .column }} |
| 75 | + {{- range $col_idx, $col := $row.column }} |
91 | 76 | {{- $alignment := or (index $align $col_idx) "left" }}
|
92 | 77 | <td class="head" style="text-align:{{ $alignment }}">
|
93 |
| - {{ $col.body | markdownify }} |
| 78 | + {{ $col | markdownify }} |
94 | 79 | </td>
|
95 | 80 | {{- end }}
|
96 | 81 | </tr>
|
|
0 commit comments