[patch] web_page generator, fix "None" error if no page content