Featured image of post Some changes upon the new Hugo version

Some changes upon the new Hugo version

I just noticed that there are some pages not working upon the new Hugo version (0.62?). So I have to make a few changes. Just record them here.

First there are some embedd content not showing, eg. PDF and html files. When I check the generated html it says: “Raw Html content not rendered”. So some html code in the .md file was ignored by Hugo. After checking the Hugo doc, I need to add the fllowing line to config.toml

unsafe= true

The second problem is with Tipue Search. Nothing shows up when enter the search phases. I noticed that the generated tipuesearch_content.js is a bit different to the standard. Need to manually remove the “,” after “[” on the first line.

comments powered by Disqus
CC-BY-NC 4.0
Built with Hugo Theme Stack