Usage
{{< tfoot [text = "Table footer content"] [inner = "Footer rows"] >}}Must be used inside a table partial, typically contains summary or totals rows
Description
Creates an HTML tfoot element that contains footer rows for a table. Perfect for totals, summaries, or other concluding information that should appear at the bottom of your table.
Parameters
indicates required parameter
text =
"string"
Primary tfoot content (processed with markdownify)
inner =
"string"
Additional tfoot content (processed with markdownify)
Examples
Table with footer totals
{{< table >}}
{{< thead >}}
{{< trth >}}Item{{< /trth >}}
{{< trth >}}Price{{< /trth >}}
{{< /thead >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}Coffee{{< /td >}}
{{< td >}}$3.50{{< /td >}}
{{< /tr >}}
{{< tr >}}
{{< td >}}Tea{{< /td >}}
{{< td >}}$2.50{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< tfoot >}}
{{< tr >}}
{{< td >}}**Total**{{< /td >}}
{{< td >}}**$6.00**{{< /td >}}
{{< /tr >}}
{{< /tfoot >}}
{{< /table >}}Table footer with summary information
{{< table >}}
{{< thead >}}
{{< trth >}}Feature{{< /trth >}}
{{< trth >}}Status{{< /trth >}}
{{< /thead >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}API{{< /td >}}
{{< td >}}✅ Complete{{< /td >}}
{{< /tr >}}
{{< tr >}}
{{< td >}}UI{{< /td >}}
{{< td >}}🚧 In Progress{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< tfoot >}}
{{< tr >}}
{{< td txtGrid="2" class="ui center aligned" >}}
*Last updated: {{<hw t="include" from="last-update.md">}}*
{{< /td >}}
{{< /tr >}}
{{< /tfoot >}}
{{< /table >}}Use spanning cells and included content for dynamic footers
Table footer with multiple summary rows
{{< table >}}
{{< thead >}}
{{< trth >}}Product{{< /trth >}}
{{< trth >}}Quantity{{< /trth >}}
{{< trth >}}Price{{< /trth >}}
{{< /thead >}}
{{< tbody >}}
{{< tr >}}
{{< td >}}Widget A{{< /td >}}
{{< td >}}5{{< /td >}}
{{< td >}}$25.00{{< /td >}}
{{< /tr >}}
{{< /tbody >}}
{{< tfoot >}}
{{< tr >}}
{{< td >}}Subtotal{{< /td >}}
{{< td >}}5{{< /td >}}
{{< td >}}$25.00{{< /td >}}
{{< /tr >}}
{{< tr >}}
{{< td >}}Tax{{< /td >}}
{{< td >}} {{< /td >}}
{{< td >}}$2.50{{< /td >}}
{{< /tr >}}
{{< tr >}}
{{< td >}}**Total**{{< /td >}}
{{< td >}}**5**{{< /td >}}
{{< td >}}**$27.50**{{< /td >}}
{{< /tr >}}
{{< /tfoot >}}
{{< /table >}}Multiple footer rows can show progressive calculations
Additional Information