grass-website icon indicating copy to clipboard operation
grass-website copied to clipboard

Changes in Hugo configuration with newer Hugo version

Open petrasovaa opened this issue 8 months ago • 8 comments

I have now Hugo 0.110.0 and I had to do these changes to run hugo and display images:

diff --git a/config.toml b/config.toml
index d46b91e..125cabb 100644
--- a/config.toml
+++ b/config.toml
@@ -26,8 +26,10 @@ greyColorDark = "#A0A0A0"
 
 
 [markup]
-  defaultMarkdownHandler = "blackfriday"
+  defaultMarkdownHandler = "goldmark"
 
+[markup.goldmark.renderer]
+  unsafe = true
 

petrasovaa avatar Oct 11 '23 21:10 petrasovaa