produce dir-structured html