This is a bug with quartz when deploy to github-page.
baseUrl used here is: <myusername>.github.io/quartz/
Also tested with baseUrl as https://name.github.io/quartz (i.e. no trailing slash).
But the issue remains.
Frontmatter tags are working:

But inline tags are not working:

Note that, the ‘link’ attached to the inline tag is incorrect.
It misses the /quartz/ part in the URL.
- Correct URL: https://name.github.io/quartz/tags/ssh
- Incorrect URL: https://name.github.io/tags/ssh