Tables

Page Components

Table Include

The table modal allows you to render a table from a data file, e.g., CSV or TSV.

The include needs only the data as argument, and an optional caption, as well as an optional key and value for filtering.

Below are examples for the include.

{% include table.html data=site.data.example_table caption="example table" %}

{% include table.html data=site.data.example_table caption="filtered table" key="b" value="5" %}

Example Table Include

example table
a b c
1 2 3
4 5 6
filtered table
a b c
4 5 6