aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-pt2021')
-rw-r--r--themes/hugo-pt2021/layouts/shortcodes/table.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/hugo-pt2021/layouts/shortcodes/table.html b/themes/hugo-pt2021/layouts/shortcodes/table.html
index 7d46834..ee88738 100644
--- a/themes/hugo-pt2021/layouts/shortcodes/table.html
+++ b/themes/hugo-pt2021/layouts/shortcodes/table.html
@@ -58,7 +58,7 @@ the search config path is:
{{- $config := (dict "data_prefix" "" "table_class" "table" "align_left" "has-text-left" "align_center" "has-text-centered" "align_justify" "has-text-justified" "align_right" "has-text-right") -}}
{{- if index $.Page.Params "table_config" -}}
{{/* use table config from page front matter */}}
- {{- $config = $.Params.table_shortcode -}}
+ {{- $config = $.Page.Params.table_config -}}
{{- else if index $.Site.Params "table_config" -}}
{{/* use table config from site config */}}
{{- $config = $.Site.Params.table_shortcode -}}