From 8f0e030c2b6fec761fcc4be822b7a3c717993e1d Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 25 Oct 2021 19:12:42 -0400 Subject: posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md: fix last post link, add hugo recommendations epilogue --- ...021-10-25-the-nuclear-option-no-more-unsafe-inline.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/content/posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md b/content/posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md index 34a3a7a..a2f07fd 100644 --- a/content/posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md +++ b/content/posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md @@ -32,7 +32,15 @@ And here is the updated [Security Headers][securityheaders] scan result: caption=" Updated Security Headers scan result." >}}][securityheaders-results] -[previous post]: {{< relref "posts/2021-10-25-table-shortcode-for-hugo.md" >}} +A couple of recommendations for folks getting started with [Hugo][]: + +1. Do not use ``; use the [figure shortcode][] instead. The latter + is far more flexible and also works well with a responsive design. +2. If you are embedding complex tables or you are generating tables with + alignment and want to avoid inline `style` attributes, do not use the + [Markdown][] table syntax. Use [hugo-shortcode-table][git] instead. + +[last post]: {{< relref "posts/2021-10-25-table-shortcode-for-hugo.md" >}} "Release announcement for hugo-shortcode-table." [git]: https://pablotron.org/pablotron/hugo-shortcode-table "Table shortcode for hugo." @@ -43,3 +51,9 @@ And here is the updated [Security Headers][securityheaders] scan result: "Content-Security-Policy HTTP response header" [apache]: https://apache.org/ "Apache web server." +[hugo]: https://gohugo.io/ + "Hugo static site generator" +[figure shortcode]: https://gohugo.io/content-management/shortcodes/#figure + "Hugo figure shortcode" +[markdown]: https://en.wikipedia.org/wiki/Markdown + "Markdown markup language" -- cgit v1.2.3