# Build Websites with Hugo: Comments Befuddle Hugo

**URL:** <https://forum.devtalk.com/t/build-websites-with-hugo-comments-befuddle-hugo/111075>\
**Category:** PragProg Customers\
**Tags:** book-build-websites-with-hugo, errata\
**Created:** [31 May 2023 18:22 UTC](https://forum.devtalk.com/t/build-websites-with-hugo-comments-befuddle-hugo/111075 "2023-05-31T18:22:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edskinner](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/e/eb9ed0/32.png) [@edskinner](https://forum.devtalk.com/u/edskinner)\
**Post date:** [31 May 2023 18:22 UTC](https://forum.devtalk.com/t/build-websites-with-hugo-comments-befuddle-hugo/111075/1 "2023-05-31T18:22:27Z")

</div>

HTML-style comments (and Hugo-style, as well) in any of the _.html input files (index.html, layouts/_/\*, etc.) cause Hugo to silently generate an empty output.  
Very annoying for those who wish to “document their code.”

---

<div class="post-metadata">

**Author:** ![edskinner](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/e/eb9ed0/32.png) [@edskinner](https://forum.devtalk.com/u/edskinner)\
**Post date:** [3 June 2023 23:33 UTC](https://forum.devtalk.com/t/build-websites-with-hugo-comments-befuddle-hugo/111075/2 "2023-06-03T23:33:01Z")

</div>

@bphogan

Make that “sometimes”.  
Of course, now that I’ve deleted ALL of mine, I can’t say which one(s) were doing it. [Sigh.]
