DEV Community

Discussion on: How to add TailwindCSS to your Hugo site

Collapse
 
cosmicspittle profile image
Robert Bell

Hi,
Thank you for this write-up. It's very helpful.

FYI: I was getting a blank page after implementing the instructions. While reading through forums to figure it out, someone said Hugo had a problem with comments at the top of some files. I deleted the comment at the top of the index.html file and then it worked fine. I tried this on another system and the same thing happened - except I also needed to take out the top comment in header.html.

This is Hugo v0.80. I'm not sure what is going on here, but thought maybe others would like to know about it.

Thanks again!

Collapse
 
divrhino profile image
Div Rhino • Edited

Hello Robert, thank you for adding this comment! <3 I'll look into this and either add version numbers or update the instructions to reflect your comments.

I probably missed it because I had added the comments at the top of code snippets of this article for clarity, but hadn't actually added any into the accompanying code repo. I'll move those into the article text, so others don't run into the same issue you did.