[SOLVED] Netlify deployment doesn't reflect local public folder

Hugo version: 0.68.3

My local public folder renders code snippets like this:

But the image right above is what I see when Netlify deploys the site.

Any suggestions on what to try?

Here’s my Netlify toml config:

[build]
    publish = "public"
    command = "hugo --gc --minify"

[context.production.environment]
    HUGO_VERSION = "0.68.3"
    HUGO_ENV = "production"
    HUGO_ENABLEGITINFO = "true"

[context.deploy-preview.environment]
    HUGO_VERSION = "0.68.3"

This seems to have been a problem with Netlify that I couldn’t figure out. I switched to Render and everything looks good now :+1: