get titles working right in prerendered docs