aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-25 18:20:15 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-25 18:20:15 -0400
commite502749cfcd805110c49f02bae03fe8171801d5c (patch)
tree2e09c5183ad2a2569bc8fb6e6444d6ca421d69af
parentfe72c0070cabfe4518a4d62f519c431ae4cdf4ef (diff)
downloadpablotron.org-e502749cfcd805110c49f02bae03fe8171801d5c.tar.bz2
pablotron.org-e502749cfcd805110c49f02bae03fe8171801d5c.zip
hugo-pt2021/layouts/shortcodes/table.html: add url, update instructions
-rw-r--r--themes/hugo-pt2021/layouts/shortcodes/table.html6
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?