web: generate correct pages for submodules.