From fa7345b534ec49c30d31feac308caf4cc85b9ac9 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 20 Oct 2021 19:29:29 -0400 Subject: themes/hugo-pt2021/layouts/shortcodes/tables.html: fix header and cell tooltip overrides --- themes/hugo-pt2021/layouts/shortcodes/table.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'themes') diff --git a/themes/hugo-pt2021/layouts/shortcodes/table.html b/themes/hugo-pt2021/layouts/shortcodes/table.html index 4f7c337..907ef44 100644 --- a/themes/hugo-pt2021/layouts/shortcodes/table.html +++ b/themes/hugo-pt2021/layouts/shortcodes/table.html @@ -149,8 +149,8 @@ you can override the `class` attribute for individual cells. {{- range $x, $col := $table.cols -}} @@ -206,7 +206,7 @@ you can override the `class` attribute for individual cells. {{- end -}} {{/* get cell tip */}} - {{- $tip := (default $col.tip $col.name) -}} + {{- $tip := (default $col.name $col.tip) -}} {{- if $is_map -}} {{- if index $cell "tip" -}} {{- $tip = index $cell "tip" -}} -- cgit v1.2.3