diff options
-rw-r--r-- | themes/hugo-pt2021/layouts/shortcodes/table.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/hugo-pt2021/layouts/shortcodes/table.html b/themes/hugo-pt2021/layouts/shortcodes/table.html index ee88738..9611601 100644 --- a/themes/hugo-pt2021/layouts/shortcodes/table.html +++ b/themes/hugo-pt2021/layouts/shortcodes/table.html @@ -1,8 +1,10 @@ {{/* +https://github.com/pablotron/hugo-shortcode-table + Custom Hugo table shortcode which renders tables by: -1. Reads table definition and data from a structured (JSON, TOML, or - YAML) data file in the site data directory. +1. Reading table definition and data from the front matter or + site data directory. 2. Renders the table using CSS classes rather than inline styles. Why does this shortcode exist? |