Compute the base path from cfg.baseUrl and set it as a data attribute on <body> so client-side scripts can resolve links correctly when Quartz is deployed to a subdirectory (e.g., user.github.io/repository).