nextstrain.org icon indicating copy to clipboard operation
nextstrain.org copied to clipboard

Standardize name for "splat" URL elements?

Open genehack opened this issue 9 months ago • 0 comments

I wonder if another name would be more informative here. Maybe staging/[[...slug]]/… to match Next.js docs? Same would go for pathogens/[[...slug]]. blog/[id] is meaningful as-is.

  if (params && params["slug"]) {
    notFound();
  }

Not the fault of this PR since the old implementation uses [[...staging]]

Originally posted by @victorlin in https://github.com/nextstrain/nextstrain.org/pull/1131#discussion_r2008485439

genehack avatar Mar 24 '25 19:03 genehack