From e502749cfcd805110c49f02bae03fe8171801d5c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 25 Oct 2021 18:20:15 -0400 Subject: hugo-pt2021/layouts/shortcodes/table.html: add url, update instructions --- themes/hugo-pt2021/layouts/shortcodes/table.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'themes/hugo-pt2021/layouts/shortcodes') 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? -- cgit v1.2.3