I am following instructions in Cloud Cannon and it works almost fine from Tutorial #1 to #5. Somehow Using Data in Hugo - Tutorial #6 doesn’t work for me.
My neext question is on my local machine, the Nav bar has a space between each word, i.e. HomespaceAboutspaceBlog but somehow the online version has no such spaces.
You are minifying your GitHub Pages site, which renders this:
<a href="/cloudcannon/">Home</a>
Instead of this:
<a href="/cloudcannon/"> Home </a>
HTML is for content. CSS is for styling. You should use CSS to add horizontal spacing instead of using spaces, regardless of whether they are non-breaking.
This is amazing, how could you find such a small detail hidden in many files. Thank you so much @jmooring!
To be honest, I don’t even know what is minifying, I just simply copy the code from Host on GitHub Pages. I tried commenting this line out and GitHub Pages doesn’t build.