digitalcraftsman / hugo-cactus-theme

Port of Nick Balestra's Cactus theme to Hugo.
MIT License
198 stars 111 forks source link

Way to disable highlight.js #46

Open jandamm opened 6 years ago

jandamm commented 6 years ago

As I had the issue myself, I wanted to fix #33

It's working without breaking changes as you have to manually disable highlight.js.

A downside right now is that highlight.js is still copied into /public, but it won't be loaded by the client.

When disabling highlight.js, I noticed that style.css was messing up the code views as well. I also fixed that by only applying the code style in paragraphs.

Copied from #45, as I used the wrong 'compare'.