diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html
index 744e868d..13e6dd89 100644
--- a/layouts/shortcodes/figure.html
+++ b/layouts/shortcodes/figure.html
@@ -17,31 +17,25 @@
{{< tomlToTable >}}
[[row]]
-type = 'header'
-
-[[row.column]]
-body = 'Project'
-
-[[row.column]]
-body = 'Available Packages'
+column = [
+ "Project",
+ "Available Packages",
+ "Download location"
+]
[[row]]
-
-[[row.column]]
-body = 'NumPy'
-
-[[row.column]]
-body = '''Official *source code* (all platforms) and *binaries* for
-**Windows**, **Linux**, and **Mac OS X**'''
+column = [
+ "NumPy",
+ "Official *source code* (all platforms) and *binaries* for
\n**Windows**, **Linux**, and **Mac OS X**\n",
+ "[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)"
+]
[[row]]
-
-[[row.column]]
-body = 'SciPy'
-
-[[row.column]]
-body = '''Official *source code* (all platforms) and *binaries* for
-**Windows**, **Linux**, and **Mac OS X**'''
+column = [
+ "SciPy",
+ "Official *source code* (all platforms) and *binaries* for
\n**Windows**, **Linux** and **Mac OS X**\n",
+ "[SciPy release page](https://github.com/scipy/scipy/releases) (sources)
\n[PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)\n"
+]
{{< /tomlToTable >}}
diff --git a/layouts/shortcodes/tomlToTable.html b/layouts/shortcodes/tomlToTable.html
index 73739668..23460a4d 100644
--- a/layouts/shortcodes/tomlToTable.html
+++ b/layouts/shortcodes/tomlToTable.html
@@ -13,40 +13,25 @@
stub-columns = 1
[[row]]
-
-[[row.column]]
-body = 'Project'
-
-[[row.column]]
-body = 'Available Packages'
-
-[[row.column]]
-body = 'Download location'
+column = [
+ "Project",
+ "Available Packages",
+ "Download location"
+]
[[row]]
-
-[[row.column]]
-body = 'NumPy'
-
-[[row.column]]
-body = '''Official *source code* (all platforms) and *binaries* for
-**Windows**, **Linux**, and **Mac OS X**'''
-
-[[row.column]]
-body = '[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)'
+column = [
+ "NumPy",
+ "Official *source code* (all platforms) and *binaries* for
\n**Windows**, **Linux**, and **Mac OS X**\n",
+ "[PyPi page for NumPy](https://pypi.python.org/pypi/numpy)"
+]
[[row]]
-
-[[row.column]]
-body = 'SciPy'
-
-[[row.column]]
-body = '''Official *source code* (all platforms) and *binaries* for
-**Windows**, **Linux**, and **Mac OS X**'''
-
-[[row.column]]
-body = '''[SciPy release page](https://github.com/scipy/scipy/releases) (sources)
-[PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)'''
+column = [
+ "SciPy",
+ "Official *source code* (all platforms) and *binaries* for
\n**Windows**, **Linux** and **Mac OS X**\n",
+ "[SciPy release page](https://github.com/scipy/scipy/releases) (sources)
\n[PyPI page for SciPy](https://pypi.python.org/pypi/scipy) (all)\n"
+]
{{< /tomlToTable >}}
@@ -74,10 +59,10 @@
{{- if $header }}
{{- range $row_idx, $row := $header }}
{{ if (modBool $row_idx 2) }}{{- else }} {{- end }}
- {{- range $col_idx, $col := .column }}
+ {{- range $col_idx, $col := $row.column }}
{{- $alignment := or (index $align $col_idx) "left" }}
@@ -87,10 +72,10 @@
- {{ $col.body | markdownify }}
+ {{ $col | markdownify }}
{{- end }}