diff options
Diffstat (limited to 'docs/content/en/troubleshooting/audit/index.md')
-rw-r--r-- | docs/content/en/troubleshooting/audit/index.md | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/content/en/troubleshooting/audit/index.md b/docs/content/en/troubleshooting/audit/index.md index e0de0d5df..2efad55e3 100644 --- a/docs/content/en/troubleshooting/audit/index.md +++ b/docs/content/en/troubleshooting/audit/index.md @@ -2,20 +2,15 @@ title: Site audit linkTitle: Audit description: Run this audit before deploying your production site. -categories: [troubleshooting] +categories: [] keywords: [] -menu: - docs: - parent: troubleshooting - weight: 20 -weight: 20 --- There are several conditions that can produce errors in your published site which are not detected during the build. Run this audit before your final build. -{{< code copy=true >}} +```text {copy=true} HUGO_MINIFY_TDEWOLFF_HTML_KEEPCOMMENTS=true HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo && grep -inorE "<\!-- raw HTML omitted -->|ZgotmplZ|\[i18n\]|\(<nil>\)|(<nil>)|hahahugo" public/ -{{< /code >}} +``` _Tested with GNU Bash 5.1 and GNU grep 3.7._ |