Params Always Turn Empty

I have this on my config.yaml →

paginate: 6
paginatePath: /
summaryLength: 30

permalinks:
  blog: /:title/
  poem: /:title/
  quote: /:title/

markup:
  goldmark:
    renderer:
      unsafe: true

params:
  menu1: blog
  menu2: poem
  menu3: quote

It works fine when I build with Netlify →

But problem show when I build with Vercel because the params always turn empty like this →

I use 0.100.0 version. Any solution?

In case you see this before the reply I posted on the Cloudflare forum… In your Pages project, did you set a HUGO_VERSION environment variable? If not, under Settings → Environment Variables, set it to the version of Hugo that you’re using.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.