aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md16
1 files changed, 15 insertions, 1 deletions
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 `<img>`; 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"