You didn't do anything wrong. The page claims the canonical url is "./index.html" (through the link rel="canonical" tag in the middle of the header). If a page specifies a canonical URL HN respects that and uses it instead of the submission URL.
Getting the canonical URL wrong is somewhat common, but this one is so comically wrong that it feels intentional. Or somebody misconfigured their wordpress.
That's more curious.. I guess they used some extension to save Wordpress website as a static website (like html pages) but they misconfigured it..
Very good guess! Thank you for this comment, this makes tracking the problem down much easier.