Remove deleted media from the generated HTML pages