aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-25 19:12:42 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-25 19:12:42 -0400
commit8f0e030c2b6fec761fcc4be822b7a3c717993e1d (patch)
tree086f723143aa8161c973f6a799e1656f89f63e6c
parent85090f9dc2085875f2767eac346ef094f6eaff82 (diff)
downloadpablotron.org-8f0e030c2b6fec761fcc4be822b7a3c717993e1d.tar.bz2
pablotron.org-8f0e030c2b6fec761fcc4be822b7a3c717993e1d.zip
posts/2021-10-25-the-nuclear-option-no-more-unsafe-inline.md: fix last post link, add hugo recommendations epilogue
-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"