diff --git a/layouts/_default/_markup/render-table.html b/layouts/_default/_markup/render-table.html index 20175e0..4f27f2f 100644 --- a/layouts/_default/_markup/render-table.html +++ b/layouts/_default/_markup/render-table.html @@ -60,19 +60,21 @@ {{- with .Attributes._caption }} {{ . }} {{- end }} - - {{- range .THead }} - - {{- range . }} - - {{- .Text -}} - - {{- end }} - - {{- end }} - + {{- if default true .Attributes._header }} + + {{- range .THead }} + + {{- range . }} + + {{- .Text -}} + + {{- end }} + + {{- end }} + + {{- end }} {{- range .TBody }}